Skip to main content

map_memory_anywhere

Function map_memory_anywhere 

Source
pub fn map_memory_anywhere(current_task: &CurrentTask, len: u64) -> UserAddress
Expand description

Maps a region of mery at least len bytes long with PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, returning the mapped address.