wip: separate allocators into a kernel one and a user one
This commit is contained in:
@ -113,7 +113,7 @@ static void init_frame_zones(void)
|
||||
|
||||
void init_memory(multiboot_info_t *mbd, uint32_t magic)
|
||||
{
|
||||
for (uint16_t i = 0; i < 0x300; i++)
|
||||
for (uint16_t i = 769; i < 1021; i++)
|
||||
kernel_pd[i] = 0x02;
|
||||
init_page_table(page_table_default, 0);
|
||||
kernel_pd[0] = ((uint32_t)page_table_default - HEAP_END) | 0x03;
|
||||
|
||||
Reference in New Issue
Block a user