[][src]Function sunrise_kernel::syscalls::map_mmio_region

pub fn map_mmio_region(
    physical_address: usize,
    size: usize,
    virtual_address: usize,
    writable: bool
) -> Result<(), UserspaceError>

Maps a physical region in the address space of the process.

Returns

The virtual address where it was mapped.

Errors