Reclaim bootloader page table pages
This commit is contained in:
1 parent
b3fb599b25
commit
71c30fa932
4 files changed
+153
-90
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user