mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Create a memory::paging::table submodule with a Table struct
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use memory::PAGE_SIZE;
|
||||
|
||||
mod entry;
|
||||
mod table;
|
||||
|
||||
const ENTRY_COUNT: usize = 512;
|
||||
|
||||
|
||||
6
src/memory/paging/table.rs
Normal file
6
src/memory/paging/table.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
use memory::paging::entry::*;
|
||||
use memory::paging::ENTRY_COUNT;
|
||||
|
||||
pub struct Table {
|
||||
entries: [Entry; ENTRY_COUNT],
|
||||
}
|
||||
Reference in New Issue
Block a user