Kernel: Move thread stacks 1 MiB back
This commit is contained in:
parent
2ba25b4c28
commit
9fb161c320
|
@ -103,7 +103,7 @@ namespace Kernel
|
|||
|
||||
thread->m_kernel_stack = TRY(VirtualRange::create_to_vaddr_range(
|
||||
page_table,
|
||||
0x300000, KERNEL_OFFSET,
|
||||
0x200000, KERNEL_OFFSET,
|
||||
kernel_stack_size,
|
||||
PageTable::Flags::ReadWrite | PageTable::Flags::Present,
|
||||
true
|
||||
|
@ -111,7 +111,7 @@ namespace Kernel
|
|||
|
||||
thread->m_userspace_stack = TRY(VirtualRange::create_to_vaddr_range(
|
||||
page_table,
|
||||
0x300000, KERNEL_OFFSET,
|
||||
0x200000, KERNEL_OFFSET,
|
||||
userspace_stack_size,
|
||||
PageTable::Flags::UserSupervisor | PageTable::Flags::ReadWrite | PageTable::Flags::Present,
|
||||
true
|
||||
|
|
Loading…
Reference in New Issue