Reclaim bootloader page table pages

This commit is contained in:
josh committed 2022-11-06 21:59:42 -05:00
1 parent b3fb599b25
commit 71c30fa932
4 files changed
+153 -90

No files matched your search

+4 -1
View File
@@ -136,8 +136,11 @@ static assert(PageTableEntry.sizeof == 8u);
*/
struct PageTable
{
/** Number of page table entries in a page table. */
enum size_t N_ENTRIES = 512u;
/** Page table entries. */
private PageTableEntry[512] entries;
private PageTableEntry[N_ENTRIES] entries;
/**
* Access the PageTableEntry for the given address and page table level.