pub unsafe extern "C" fn svcMapMemoryBlock(
    memblock: Handle,
    addr: u32_,
    my_perm: MemPerm,
    other_perm: MemPerm
) -> Result
Expand description

Maps a block of shared memory

§Arguments

  • memblock - Handle of the block
  • addr - Address of the memory to map, page-aligned. So its alignment must be 0x1000.
  • my_perm - Memory permissions for the current process
  • other_perm - Memory permissions for the other processes

Note: The shared memory block, and its rights, are destroyed when the handle is closed.