Add clone methods to Page(public) and Frame(private)

This commit is contained in:
Philipp Oppermann
2015-12-31 00:49:34 +01:00
parent f378e6aed3
commit 2198d09695
2 changed files with 5 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ const ENTRY_COUNT: usize = 512;
pub type PhysicalAddress = usize;
pub type VirtualAddress = usize;
#[derive(Debug, Clone, Copy)]
pub struct Page {
number: usize,
}