Files
tp/include/dolphin/ar/ar.h
T

24 lines
430 B
C
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef AR_H
#define AR_H
#include "dolphin/types.h"
#ifdef __cplusplus
2021-05-03 02:03:24 +02:00
extern "C" {
#endif
2023-01-02 11:20:10 -08:00
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);
2021-05-03 02:03:24 +02:00
u32 ARGetSize(void);
#ifdef __cplusplus
};
#endif
2021-05-03 02:03:24 +02:00
2021-03-28 22:49:05 +02:00
#endif /* AR_H */