2018-10-25 21:29:41 -05:00
|
|
|
#ifndef _OS_INTERNAL_H_
|
|
|
|
|
#define _OS_INTERNAL_H_
|
|
|
|
|
|
2022-06-19 03:38:10 +01:00
|
|
|
typedef struct {
|
2021-03-27 14:17:41 -07:00
|
|
|
/* 0x00 */ OSMesgQueue* queue;
|
|
|
|
|
/* 0x04 */ OSMesg msg;
|
|
|
|
|
} __osHwInt; // size = 0x08
|
|
|
|
|
|
2021-10-24 10:59:14 -04:00
|
|
|
typedef struct {
|
|
|
|
|
/* 0x00 */ u32 initialized;
|
|
|
|
|
/* 0x04 */ OSThread* mgrThread;
|
|
|
|
|
/* 0x08 */ OSMesgQueue* cmdQueue;
|
|
|
|
|
/* 0x0C */ OSMesgQueue* eventQueue;
|
|
|
|
|
/* 0x10 */ OSMesgQueue* accessQueue;
|
2022-10-04 15:46:32 -05:00
|
|
|
/* 0x14 */ s32 (*piDmaCallback)(s32, uintptr_t, void*, size_t);
|
|
|
|
|
/* 0x18 */ s32 (*epiDmaCallback)(OSPiHandle*, s32, uintptr_t, void*, size_t);
|
2021-10-24 10:59:14 -04:00
|
|
|
} OSMgrArgs; // size = 0x1C
|
|
|
|
|
|
2018-10-25 21:29:41 -05:00
|
|
|
#endif
|