Function ctru_sys::iruInit

source ·
pub unsafe extern "C" fn iruInit(
    sharedmem_addr: *mut u32_,
    sharedmem_size: u32_
) -> Result
Expand description

Initializes IRU. The permissions for the specified memory is set to RO. This memory must be already mapped.

§Arguments

  • sharedmem_addr - Address of the shared memory block to use.
  • sharedmem_size - Size of the shared memory block.