[][src]Function sunrise_kernel::syscalls::unmap_process_memory

pub fn unmap_process_memory(
    dst_addr: usize,
    proc_hnd: u32,
    src_addr: usize,
    size: usize
) -> Result<(), UserspaceError>

Unmaps a memory range mapped with map_process_memory(). dst_addr is an address in the current address space, while src_addr is the address in the remote address space that was previously mapped.

It is possible to partially unmap a ProcessMemory.

Errors