forked from Bananymous/banan-os
Kernel: allocate thread stacks from 0x300000 onwards
I had a problem where thread stack was overlapping with elf loading
This commit is contained in:
parent
4ca99fcb4e
commit
537780ee1e
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue