39 #define ARQ_MRAMTOARAM AR_MRAMTOARAM 40 #define ARQ_ARAMTOMRAM AR_ARAMTOMRAM 42 #define ARQ_DEF_CHUNK_SIZE 4096 u32 owner
Definition: arqueue.h:62
u32 mram_addr
Definition: arqueue.h:63
void ARQ_PostRequest(ARQRequest *req, u32 owner, u32 dir, u32 prio, u32 aram_addr, u32 mram_addr, u32 len)
Enqueue a ARAM DMA transfer request.
Definition: arqueue.c:204
u32 aram_addr
Definition: arqueue.h:63
lwp_node node
Definition: arqueue.h:61
GLenum GLsizei len
Definition: glext.h:7389
GLsizeiptr size
Definition: glext.h:6559
u32 prio
Definition: arqueue.h:62
Definition: lwp_queue.h:16
ARQCallback callback
Definition: arqueue.h:64
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
void ARQ_Reset()
Definition: arqueue.c:138
void ARQ_SetChunkSize(u32 size)
Definition: arqueue.c:146
u32 dir
Definition: arqueue.h:62
void(* ARQCallback)(ARQRequest *)
Definition: arqueue.h:58
u32 ARQ_GetChunkSize()
Definition: arqueue.c:154
void ARQ_PostRequestAsync(ARQRequest *req, u32 owner, u32 dir, u32 prio, u32 aram_addr, u32 mram_addr, u32 len, ARQCallback cb)
Enqueue a ARAM DMA transfer request.
Definition: arqueue.c:172
void ARQ_FlushQueue()
Definition: arqueue.c:159
void ARQ_Init()
Definition: arqueue.c:113
u32 state
Definition: arqueue.h:62
u32 len
Definition: arqueue.h:63
u32 ARQ_RemoveOwnerRequest(u32 owner)
Definition: arqueue.c:227
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
void ARQ_RemoveRequest(ARQRequest *req)
Definition: arqueue.c:217