wip: debug memory pages persistency

This commit is contained in:
2024-10-21 13:36:42 +02:00
parent 8c936f6323
commit 4337bc11c8
5 changed files with 24 additions and 10 deletions

View File

@ -46,7 +46,7 @@ void *alloc_pages(size_t size)
/* assert(page_table1[i] >> 12 == i); */
page_table1[i] = ((uint32_t)frame & PAGE_MASK) | INIT_FLAGS;
}
PRINT_PTR(page_table1[index]);
/* PRINT_PTR(page_table1[index]); */
return (void *)(index * PAGE_SIZE);
}