[kernel] Move the page table cache into page_table
Further chipping away at page_manager: the cache of pages to be used as page tables gets moved to a static in page_table.
This commit is contained in:
@@ -111,7 +111,7 @@ memory_initialize_pre_ctors(args::header *kargs)
|
||||
// Create the page manager
|
||||
new (&g_page_manager) page_manager {g_frame_allocator, kpml4};
|
||||
|
||||
vm_space &vm = *new (&g_kernel_space) vm_space {kpml4, true};
|
||||
vm_space &vm = *new (&g_kernel_space) vm_space {kpml4};
|
||||
vm.allow(memory::heap_start, memory::kernel_max_heap, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user