RetroArch
Typedefs | Functions
arqmgr.h File Reference

ARAM queue managemnt subsystem. More...

#include <gctypes.h>
Include dependency graph for arqmgr.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

ARAM queue managemnt subsystem.

Typedef Documentation

◆ ARQMCallback

void(* ARQMCallback)()

function pointer typedef for the user's callback when ARAM operation has completed

Parameters
none

Function Documentation

◆ ARQM_GetFreeSize()

u32 ARQM_GetFreeSize ( )

Return Returns remaining number of bytes on stack.

Returns
See description

◆ ARQM_GetStackPointer()

u32 ARQM_GetStackPointer ( )

Return the ARAM address of the next free stack pointer.

Returns
See description

◆ ARQM_GetZeroBuffer()

u32 ARQM_GetZeroBuffer ( )

Returns ARAM address of 'zero buffer'.

Returns
See description

◆ ARQM_Init()

void ARQM_Init ( u32  arambase,
s32  len 
)

Initialize the ARAM queue management system.

Parameters
[in]arambaseARAM startaddress to take for the queue stack
[in]lenmaximum amount of memory to be reserved from the ARAM for the queue management
Returns
none
Here is the call graph for this function:

◆ ARQM_PushData()

u32 ARQM_PushData ( void buff,
s32  len 
)

Push the data onto the ARAM queue.

Parameters
[in]buffstartaddress of buffer to be pushed onto the queue. NOTE: Must be 32-bytealigned.
[in]lenlength of data to be pushed onto the queue.
Returns
none
Here is the call graph for this function:
Here is the caller graph for this function: