mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Recursive map the P4 table
This commit is contained in:
@@ -2,6 +2,8 @@ use memory::paging::entry::*;
|
||||
use memory::paging::ENTRY_COUNT;
|
||||
use core::ops::{Index, IndexMut};
|
||||
|
||||
pub const P4: *mut Table = 0xffffffff_fffff000 as *mut _;
|
||||
|
||||
pub struct Table {
|
||||
entries: [Entry; ENTRY_COUNT],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user