Enable handling page fault around

This commit is contained in:
Chen Chengjun
2024-08-28 10:24:44 +08:00
committed by Tate, Hongliang Tian
parent 0c01590981
commit ffc717f00b
7 changed files with 144 additions and 24 deletions

View File

@ -341,7 +341,7 @@ impl CursorMut<'_> {
/// Jump to the virtual address.
///
/// This is the same as [`Cursor::jump`].
pub fn jump(&mut self, va: Vaddr) -> Result<()>{
pub fn jump(&mut self, va: Vaddr) -> Result<()> {
self.0.jump(va)?;
Ok(())
}