sys_memory_unmap

Function sys_memory_unmap 

Source
pub fn sys_memory_unmap(trapframe: &mut Trapframe) -> usize
Expand description

System call for unmapping memory from a KernelObject or anonymous mapping

§Arguments

  • vaddr: Virtual address of the mapping to unmap
  • length: Length of the mapping to unmap

§Returns

  • On success: 0
  • On error: usize::MAX