Function ctru_sys::IPC_Desc_PXIBuffer
source · pub unsafe extern "C" fn IPC_Desc_PXIBuffer(
size: usize,
buffer_id: c_uint,
is_read_only: bool
) -> u32_
Expand description
Creates a header describing a buffer to be sent over PXI.
§Arguments
size
- Size of the buffer. Max 0x00FFFFFF.buffer_id
- The Id of the buffer. Max 0xF.is_read_only
- true if the buffer is read-only. If false, the buffer is considered to have read-write access.
§Returns
The created PXI buffer header.
The next value is a phys-address of a table located in the BASE memregion.