Kernel: Rewrite x86_64 page tables to use HHDM instead of kmalloc
This allows page tables to not crash the kernel once kmalloc runs out of its (limited) static memory.
This commit is contained in:
@@ -43,7 +43,8 @@ namespace Kernel
|
||||
};
|
||||
|
||||
public:
|
||||
static void initialize();
|
||||
static void initialize_pre_heap();
|
||||
static void initialize_post_heap();
|
||||
|
||||
static PageTable& kernel();
|
||||
static PageTable& current() { return *reinterpret_cast<PageTable*>(Processor::get_current_page_table()); }
|
||||
|
||||
Reference in New Issue
Block a user