Rename get_user_space to user_space

This commit is contained in:
Ruihan Li
2024-11-13 23:39:10 +08:00
committed by Tate, Hongliang Tian
parent e6c613f538
commit 96de617ad9
68 changed files with 102 additions and 126 deletions

View File

@ -350,7 +350,7 @@ impl FutexKey {
pub fn load_val(&self, ctx: &Context) -> Result<i32> {
// FIXME: how to implement a atomic load?
warn!("implement an atomic load");
ctx.get_user_space().read_val(self.addr)
ctx.user_space().read_val(self.addr)
}
pub fn addr(&self) -> Vaddr {