Kernel: allocate thread stacks from 0x300000 onwards

I had a problem where thread stack was overlapping with elf loading
This commit is contained in:
Bananymous 2023-06-12 01:02:19 +03:00
parent 58ec4d6a31
commit 7aeb8e4d36
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ namespace Kernel
if (vaddr == 0)
{
vaddr = page_table.get_free_contiguous_pages(size / PAGE_SIZE, 0x400000);
vaddr = page_table.get_free_contiguous_pages(size / PAGE_SIZE, 0x300000);
ASSERT(vaddr);
}