Kernel: Move thread stacks 1 MiB back

This commit is contained in:
Bananymous 2025-04-01 23:15:32 +03:00
parent 2ba25b4c28
commit 9fb161c320
1 changed files with 2 additions and 2 deletions

View File

@ -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