wip: debug memory pages persistency
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user