mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 02:13:24 +00:00
Rename get_user_space
to user_space
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
e6c613f538
commit
96de617ad9
@ -12,7 +12,7 @@ pub fn sys_time(tloc: Vaddr, ctx: &Context) -> Result<SyscallReturn> {
|
||||
};
|
||||
|
||||
if tloc != 0 {
|
||||
ctx.get_user_space().write_val(tloc, &now_as_secs)?;
|
||||
ctx.user_space().write_val(tloc, &now_as_secs)?;
|
||||
}
|
||||
|
||||
Ok(SyscallReturn::Return(now_as_secs as _))
|
||||
|
Reference in New Issue
Block a user