mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add clone methods to Page(public) and Frame(private)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user