mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-09 08:20:17 +00:00
First proper commit.
This commit is contained in:
parent
be78236d36
commit
087f561f77
14086 changed files with 1200489 additions and 1 deletions
39
include/ultra64/os_internal.h
Normal file
39
include/ultra64/os_internal.h
Normal file
|
@ -0,0 +1,39 @@
|
|||
#ifndef _ULTRA64_OS_INTERNAL_H_
|
||||
#define _ULTRA64_OS_INTERNAL_H_
|
||||
|
||||
/* Internal functions used by the operating system */
|
||||
/* Do not include this header in application code */
|
||||
|
||||
/* Variables */
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u32 initialized;
|
||||
OSThread *mgrThread;
|
||||
OSMesgQueue *cmdQueue;
|
||||
OSMesgQueue *eventQueue;
|
||||
OSMesgQueue *acccessQueue;
|
||||
s32 (*piDmaCallback)(s32, u32, void*, size_t);
|
||||
s32 (*epiDmaCallback)(OSPiHandle *, s32, u32, void *, size_t);
|
||||
} OSMgrArgs;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
OSMesgQueue* queue;
|
||||
OSMesg msg;
|
||||
} __osHwInt;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
OSMesgQueue* queue;
|
||||
OSMesg msg;
|
||||
} __OSEventState;
|
||||
|
||||
/* Functions */
|
||||
|
||||
u32 __osProbeTLB(void *);
|
||||
s32 __osDisableInt(void);
|
||||
OSThread *__osPopThread(OSThread**);
|
||||
void __osCleanupThread(void);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue