Create a memory::paging::table submodule with a Table struct

This commit is contained in:
Philipp Oppermann
2017-04-13 18:31:26 +02:00
parent fe464463eb
commit 62d655fbdd
2 changed files with 7 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
use memory::PAGE_SIZE;
mod entry;
mod table;
const ENTRY_COUNT: usize = 512;

View File

@@ -0,0 +1,6 @@
use memory::paging::entry::*;
use memory::paging::ENTRY_COUNT;
pub struct Table {
entries: [Entry; ENTRY_COUNT],
}