forktree worked with depth=3 on k210 platform.
This commit is contained in:
parent
48a11e53ff
commit
a3496698b3
6 changed files with 62 additions and 17 deletions
|
@ -212,7 +212,7 @@ impl MemorySet {
|
|||
pub fn translate(&self, vpn: VirtPageNum) -> Option<PageTableEntry> {
|
||||
self.page_table.translate(vpn)
|
||||
}
|
||||
pub fn clear(&mut self) {
|
||||
pub fn recycle_data_pages(&mut self) {
|
||||
//*self = Self::new_bare();
|
||||
self.areas.clear();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue