Recursively map the PML4

This commit is contained in:
Drew Galbraith 2023-05-18 01:18:51 -07:00
parent b3f8cb9003
commit 45b5817a36
4 changed files with 29 additions and 0 deletions

View file

@ -5,10 +5,12 @@
#include "common/gdt.h"
#include "debug/debug.h"
#include "interrupt/interrupt.h"
#include "memory/paging_util.h"
extern "C" void zion() {
InitGdt();
InitIdt();
InitPaging();
const limine_memmap_response& resp = boot::GetMemoryMap();
dbgln("Base,Length,Type");