diff --git a/src/memory/paging/mod.rs b/src/memory/paging/mod.rs index 9bcddfb..75859d0 100644 --- a/src/memory/paging/mod.rs +++ b/src/memory/paging/mod.rs @@ -1,6 +1,7 @@ use memory::PAGE_SIZE; mod entry; +mod table; const ENTRY_COUNT: usize = 512; diff --git a/src/memory/paging/table.rs b/src/memory/paging/table.rs new file mode 100644 index 0000000..a6652b5 --- /dev/null +++ b/src/memory/paging/table.rs @@ -0,0 +1,6 @@ +use memory::paging::entry::*; +use memory::paging::ENTRY_COUNT; + +pub struct Table { + entries: [Entry; ENTRY_COUNT], +}