1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 18:15:07 +00:00

Kernel: Remove Process::m_next_address.

This isn't needed now that we have RangeAllocator. :^)
This commit is contained in:
Andreas Kling 2019-05-17 03:47:00 +02:00
parent 45ff3a7e6a
commit b1bb737704
2 changed files with 0 additions and 8 deletions

View file

@ -565,11 +565,6 @@ Process::Process(String&& name, uid_t uid, gid_t gid, pid_t ppid, RingLevel ring
{
dbgprintf("Process: New process PID=%u with name=%s\n", m_pid, m_name.characters());
if (fork_parent)
m_next_region = fork_parent->m_next_region;
else
m_next_region = LinearAddress(0x10000000);
m_page_directory = PageDirectory::create();
#ifdef MM_DEBUG
dbgprintf("Process %u ctor: PD=%x created\n", pid(), m_page_directory.ptr());