RetroArch
|
ARAM queue managemnt subsystem. More...
#include <gctypes.h>
Go to the source code of this file.
Typedefs | |
typedef void(* | ARQMCallback) (s32 result) |
function pointer typedef for the user's callback when ARAM operation has completed More... | |
Functions | |
void | ARQM_Init (u32 arambase, s32 len) |
Initialize the ARAM queue management system. More... | |
u32 | ARQM_PushData (void *buffer, s32 len) |
Push the data onto the ARAM queue. More... | |
u32 | ARQM_GetZeroBuffer () |
Returns ARAM address of 'zero buffer'. More... | |
u32 | ARQM_GetStackPointer () |
Return the ARAM address of the next free stack pointer. More... | |
u32 | ARQM_GetFreeSize () |
Return Returns remaining number of bytes on stack. More... | |
ARAM queue managemnt subsystem.
void(* ARQMCallback)() |
function pointer typedef for the user's callback when ARAM operation has completed
none |
u32 ARQM_GetFreeSize | ( | ) |
Return Returns remaining number of bytes on stack.
u32 ARQM_GetStackPointer | ( | ) |
Return the ARAM address of the next free stack pointer.
u32 ARQM_GetZeroBuffer | ( | ) |
Returns ARAM address of 'zero buffer'.
Initialize the ARAM queue management system.
[in] | arambase | ARAM startaddress to take for the queue stack |
[in] | len | maximum amount of memory to be reserved from the ARAM for the queue management |
Push the data onto the ARAM queue.
[in] | buff | startaddress of buffer to be pushed onto the queue. NOTE: Must be 32-bytealigned. |
[in] | len | length of data to be pushed onto the queue. |