pub unsafe extern "C" fn svcCreateMemoryBlock(
memblock: *mut Handle,
addr: u32_,
size: u32_,
my_perm: MemPerm,
other_perm: MemPerm,
) -> ResultExpand description
Creates a block of shared memory
ยงArguments
memblock(direction out) - Pointer to store the handle of the blockaddr- Address of the memory to map, page-aligned. So its alignment must be 0x1000.size- Size of the memory to map, a multiple of 0x1000.my_perm- Memory permissions for the current processother_perm- Memory permissions for the other processes
Note: The shared memory block, and its rights, are destroyed when the handle is closed.