1
0
mirror of https://github.com/blawar/ooot.git synced 2024-07-05 10:33:36 +00:00
ooot/include/ultra64/internal.h
2022-02-14 10:56:16 -05:00

25 lines
623 B
C

#ifndef ULTRA64_INTERNAL_H
#define ULTRA64_INTERNAL_H
#include "pi.h"
struct OSMgrArgs {
/* 0x00 */ u32 initialized;
/* 0x04 */ OSThread* mgrThread;
/* 0x08 */ OSMesgQueue* cmdQueue;
/* 0x0C */ OSMesgQueue* eventQueue;
/* 0x10 */ OSMesgQueue* acccessQueue;
/* 0x14 */ s32 (*piDmaCallback)(s32, u32, void*, size_t);
/* 0x18 */ s32 (*epiDmaCallback)(OSPiHandle*, s32, u32, void*, size_t);
}; // size = 0x1C
struct __OSEventState {
/* 0x00 */ OSMesgQueue* queue;
/* 0x04 */ OSMesg msg;
}; // size = 0x08
extern OSMgrArgs __osPiDevMgr;
extern __OSEventState __osEventStateTab[];
#endif