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
@ -21,7 +21,7 @@ pub fn sys_gettimeofday(
|
||||
let time_duration = now.duration_since(&SystemTime::UNIX_EPOCH)?;
|
||||
timeval_t::from(time_duration)
|
||||
};
|
||||
ctx.get_user_space().write_val(timeval_addr, &time_val)?;
|
||||
ctx.user_space().write_val(timeval_addr, &time_val)?;
|
||||
|
||||
Ok(SyscallReturn::Return(0))
|
||||
}
|
||||
|
Reference in New Issue
Block a user