Introduce CurrentUserSpace to provide read/write abilities for user space

This commit is contained in:
Chen Chengjun
2024-08-09 16:12:46 +08:00
committed by Tate, Hongliang Tian
parent 8317c4c1e8
commit 259b506119
3 changed files with 163 additions and 151 deletions

View File

@ -30,7 +30,7 @@ impl UserSpace {
}
/// Returns the VM address space.
pub fn vm_space(&self) -> &VmSpace {
pub fn vm_space(&self) -> &Arc<VmSpace> {
&self.vm_space
}