Function ctru_sys::socInit

source ·
pub unsafe extern "C" fn socInit(
    context_addr: *mut u32_,
    context_size: u32_
) -> Result
Expand description

Initializes the SOC service.


  • context_addr - Address of a page-aligned (0x1000) buffer to be used.
  • context_size - Size of the buffer, a multiple of 0x1000.

Note: The specified context buffer can no longer be accessed by the process which called this function, since the userland permissions for this block are set to no-access.