Function IPC_Desc_StaticBuffer
Source pub unsafe extern "C" fn IPC_Desc_StaticBuffer(
size: usize,
buffer_id: c_uint,
) -> u32_
Expand description
Creates a header describing a static buffer.
§Arguments
size - Size of the buffer. Max ?0x03FFFF?.
buffer_id - The Id of the buffer. Max 0xF.
§Returns
The created static buffer header.
The next value is a pointer to the buffer. It will be copied to TLS offset 0x180 + static_buffer_id*8.