mirror of
https://github.com/encounter/tp.git
synced 2026-03-30 11:40:53 -07:00
981cfe7283
* TRK full match * remove trk asm * ar done * cleanup some dolphin headers * more dolphin cleanup * cleanup / GD fully matched * almost all of GX fully matched * GX / Mtx full matched * most of OS done * pad done * most of VI * remove asm * forgot couple vec funcs * couple JUtility matches
25 lines
460 B
C
25 lines
460 B
C
#ifndef AR_H
|
|
#define AR_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void (*ARCallback)(void);
|
|
|
|
ARCallback ARRegisterDMACallback(ARCallback callback);
|
|
u32 ARGetDMAStatus(void);
|
|
void ARStartDMA(u32 type, u32 mainmem_addr, u32 aram_addr, u32 length);
|
|
u32 ARInit(u32* stack_index_addr, u32 num_entries);
|
|
u32 ARAlloc(u32 length);
|
|
u32 ARGetSize(void);
|
|
u16 __ARGetInterruptStatus();
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif /* AR_H */
|