[][src]Function sunrise_kernel::syscalls::create_shared_memory

pub fn create_shared_memory(
    size: u32,
    _myperm: u32,
    _otherperm: u32
) -> Result<usize, UserspaceError>

Allocate a new SharedMemory region. This is a memory region backed by DRAM allocated from the current process' pool partition, that can be mapped in different processes.

Other perm can be used to enforce permission 1, 3, or 0x10000000 if don't care.