feat: tasks

This commit is contained in:
Zoe
2026-08-31 04:46:13 -05:00
parent b1f9dc0f8a
commit 4c32bcfb35
16 changed files with 513 additions and 43 deletions
+9
View File
@@ -264,12 +264,21 @@ pub(crate) enum PageTableCreateError {
OutOfFrames,
}
#[derive(Debug)]
pub struct PageTable {
pub direct_map: DirectMap,
config: PagingConfig,
frame: OwnedFrame,
}
impl PartialEq for PageTable {
fn eq(&self, other: &Self) -> bool {
self.frame.frame_address() == other.frame.frame_address()
}
}
impl Eq for PageTable {}
impl PageTable {
pub fn new(
direct_map: DirectMap,