map apic
This commit is contained in:
@@ -45,7 +45,7 @@ static KeyboardApplication kapp;
|
||||
// Main function
|
||||
extern "C" int main() {
|
||||
|
||||
//PageFrameAllocator::init();
|
||||
PageFrameAllocator::init();
|
||||
memset(&paging_tree, 0, sizeof(four_lvl_paging_t));
|
||||
create_basic_page_table((uintptr_t)&paging_tree);
|
||||
load_cr3((void*)&paging_tree.l4);
|
||||
|
||||
Reference in New Issue
Block a user