#include <gctypes.h>
#include <ogc/lwp_queue.h>
#include "aram.h"
Go to the source code of this file.
|
void | ARQ_Init () |
|
void | ARQ_Reset () |
|
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. More...
|
|
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. More...
|
|
void | ARQ_RemoveRequest (ARQRequest *req) |
|
void | ARQ_SetChunkSize (u32 size) |
|
u32 | ARQ_GetChunkSize () |
|
void | ARQ_FlushQueue () |
|
u32 | ARQ_RemoveOwnerRequest (u32 owner) |
|
◆ ARQ_ARAMTOMRAM
◆ ARQ_DEF_CHUNK_SIZE
#define ARQ_DEF_CHUNK_SIZE 4096 |
◆ ARQ_MRAMTOARAM
◆ ARQ_PRIO_HI
◆ ARQ_PRIO_LO
◆ ARQCallback
◆ ARQRequest
◆ anonymous enum
Enumerator |
---|
ARQ_TASK_READY | |
ARQ_TASK_RUNNING | |
ARQ_TASK_FINISHED | |
◆ ARQ_FlushQueue()
◆ ARQ_GetChunkSize()
◆ ARQ_Init()
◆ ARQ_PostRequest()
Enqueue a ARAM DMA transfer request.
- Parameters
-
[in] | req | structure to hold ARAM DMA request informations. |
[in] | owner | unique owner id. |
[in] | dir | direction of ARAM DMA transfer. |
[in] | prio | priority of request. |
[in] | aram_addr | startaddress of buffer to be pushed onto the queue. NOTE: Must be 32-bytealigned. |
[in] | mram_addr | length of data to be pushed onto the queue. |
[in] | len | startaddress of buffer to be pushed onto the queue. NOTE: Must be 32-bytealigned. |
[in] | cb | length of data to be pushed onto the queue. |
- Returns
- none
◆ ARQ_PostRequestAsync()
Enqueue a ARAM DMA transfer request.
- Parameters
-
[in] | req | structure to hold ARAM DMA request informations. |
[in] | owner | unique owner id. |
[in] | dir | direction of ARAM DMA transfer. |
[in] | prio | priority of request. |
[in] | aram_addr | startaddress of buffer to be pushed onto the queue. NOTE: Must be 32-bytealigned. |
[in] | mram_addr | length of data to be pushed onto the queue. |
[in] | len | startaddress of buffer to be pushed onto the queue. NOTE: Must be 32-bytealigned. |
[in] | cb | length of data to be pushed onto the queue. |
- Returns
- none
◆ ARQ_RemoveOwnerRequest()
u32 ARQ_RemoveOwnerRequest |
( |
u32 |
owner | ) |
|
◆ ARQ_RemoveRequest()
◆ ARQ_Reset()
◆ ARQ_SetChunkSize()