Skip to content

Commit

Permalink
add todo for dropping pagemap
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6D70 committed Jan 19, 2024
1 parent fe8705a commit c760351
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xernel/kernel/src/mem/paging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,12 @@ impl Pagemap {
}
}

impl Drop for Pagemap {
fn drop(&mut self) {
todo!("drop pagemap")
}
}

pub fn init() {
unsafe {
// create new pagetable and map the kernel + all memory maps in higher half
Expand Down

0 comments on commit c760351

Please sign in to comment.