i'm so close
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ void destroy_page_dir(uint32_t* page_dir_virt) {
|
||||
|
||||
// If the page table entry is present, free the physical page (frame) it points to
|
||||
if (pte & PAGE_PRESENT) {
|
||||
debug_log("freeing page %X\n", pte);
|
||||
//debug_log("freeing page %X\n", pte);
|
||||
free_page((void*)(pte & ~0xFFF));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user