mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 16:33:24 +00:00
Rename get_user_space
to user_space
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
e6c613f538
commit
96de617ad9
@ -38,7 +38,7 @@ pub fn sys_madvise(
|
||||
| MadviseBehavior::MADV_WILLNEED => {
|
||||
// perform a read at first
|
||||
let mut buffer = vec![0u8; len];
|
||||
ctx.get_user_space()
|
||||
ctx.user_space()
|
||||
.read_bytes(start, &mut VmWriter::from(buffer.as_mut_slice()))?;
|
||||
}
|
||||
MadviseBehavior::MADV_DONTNEED => {
|
||||
|
Reference in New Issue
Block a user