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

toolchain_update
Philipp Oppermann 8 years ago
parent fe464463eb
commit 62d655fbdd

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

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