RetroArch
|
#include <stdlib.h>
#include "asm.h"
#include "processor.h"
#include "arqueue.h"
#include "arqmgr.h"
Classes | |
struct | _arqm_info |
Macros | |
#define | ARQM_STACKENTRIES 16 |
#define | ARQM_ZEROBYTES 256 |
#define | ROUNDUP32(x) (((u32)(x)+0x1f)&~0x1f) |
Typedefs | |
typedef struct _arqm_info | ARQM_Info |
Functions | |
static u8 __ARQMZeroBuffer [ARQM_ZEROBYTES] | ATTRIBUTE_ALIGN (32) |
static void | __ARQMPollCallback (ARQRequest *req) |
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... | |
void | ARQM_Pop () |
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... | |
Variables | |
static u32 | __ARQMStackLocation |
static u32 | __ARQMFreeBytes |
static u32 | __ARQMStackPointer [ARQM_STACKENTRIES] |
static ARQM_Info | __ARQMInfo [ARQM_STACKENTRIES] |
#define ARQM_STACKENTRIES 16 |
#define ARQM_ZEROBYTES 256 |
typedef struct _arqm_info ARQM_Info |
|
static |
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 |
void ARQM_Pop | ( | ) |
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. |
|
static |
|
static |
|
static |
|
static |
|
static |