mem: add kunmap and begin tracking mapped pages

This commit is contained in:
Michael Shaw 2023-05-27 23:15:12 -04:00
commit 8ee80d22c9
2 changed files with 84 additions and 4 deletions

View file

@ -69,8 +69,6 @@ void kmain(void)
char kmem[one_gb] ALIGN(0x1000);
mem_early_init(kmem, one_gb);
slabtypes_init();
struct limine_kernel_file_response *resp = module_req.response;
struct limine_file *kfile = (struct limine_file *)((paddr_t)resp->kernel_file | hhdm_start);