mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +00:00
f1d183d6fe
* Restructure files, begin header restructure * Format * us2dex * Fix parallel spelling Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> * Use OS_K0_TO_PHYSICAL in place of VIRTUAL_TO_PHYSICAL in osAiSetNextBuffer * Uppercase hex, exception vector address defines * Interrupt flags 1 Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Interrupt flags 2 Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
24 lines
640 B
C
24 lines
640 B
C
#ifndef ULTRA64_INTERNAL_H
|
|
#define ULTRA64_INTERNAL_H
|
|
|
|
#include "pi.h"
|
|
|
|
typedef struct {
|
|
/* 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);
|
|
} OSMgrArgs; // size = 0x1C
|
|
|
|
typedef struct {
|
|
/* 0x00 */ OSMesgQueue* queue;
|
|
/* 0x04 */ OSMesg msg;
|
|
} __OSEventState; // size = 0x08
|
|
|
|
extern OSMgrArgs __osPiDevMgr;
|
|
extern __OSEventState __osEventStateTab[];
|
|
|
|
#endif
|