mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 19:15:07 +00:00
Kernel: Remove Process::m_next_address.
This isn't needed now that we have RangeAllocator. :^)
This commit is contained in:
parent
45ff3a7e6a
commit
b1bb737704
2 changed files with 0 additions and 8 deletions
|
@ -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());
|
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();
|
m_page_directory = PageDirectory::create();
|
||||||
#ifdef MM_DEBUG
|
#ifdef MM_DEBUG
|
||||||
dbgprintf("Process %u ctor: PD=%x created\n", pid(), m_page_directory.ptr());
|
dbgprintf("Process %u ctor: PD=%x created\n", pid(), m_page_directory.ptr());
|
||||||
|
|
|
@ -309,9 +309,6 @@ private:
|
||||||
|
|
||||||
Vector<Retained<Region>> m_regions;
|
Vector<Retained<Region>> m_regions;
|
||||||
|
|
||||||
// FIXME: Implement some kind of ASLR?
|
|
||||||
LinearAddress m_next_region;
|
|
||||||
|
|
||||||
LinearAddress m_return_to_ring3_from_signal_trampoline;
|
LinearAddress m_return_to_ring3_from_signal_trampoline;
|
||||||
LinearAddress m_return_to_ring0_from_signal_trampoline;
|
LinearAddress m_return_to_ring0_from_signal_trampoline;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue