mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-27 07:37:24 -04:00
112e86f0e8
* renamed func_XXX to _savegpr_XX * renamed func_XXX to _restgpr_XX * renamed func_XXX to _savefpr_XX * renamed func_XXX to _restfpr_XX * cleanup functions.h and moved intrisics to mwcc.h * formatting * cleanup functions.h * Added include/ar/ARQ.h * renamed func_XXX to _savegpr_25 * removed JKRAramPiece asm files * JKRAramHeap OK, JKRAramPiece OK * formatting * more formatting * Added const and removed explicit this-> * fixed merge problems * changed mMessages[1] to mMessage * foramatting Co-authored-by: Julgodis <> Co-authored-by: Pheenoh <pheenoh@gmail.com>
26 lines
488 B
C
26 lines
488 B
C
#ifndef __ARQ_H__
|
|
#define __ARQ_H__
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
typedef void (*ARQCallback)(u32 request_address);
|
|
|
|
struct ARQRequest {
|
|
ARQRequest* next;
|
|
u32 owner;
|
|
u32 type;
|
|
u32 priority;
|
|
u32 source;
|
|
u32 destination;
|
|
u32 length;
|
|
ARQCallback callback;
|
|
};
|
|
|
|
extern "C" {
|
|
void ARQInit(void);
|
|
void ARQPostRequest(ARQRequest* task, u32 owner, u32 type, u32 priority, u32 source,
|
|
u32 destination, u32 length, ARQCallback callback);
|
|
}
|
|
|
|
#endif
|