Imported most of dolphin/os
This commit is contained in:
parent
023cd90675
commit
970da00ce2
35 changed files with 6591 additions and 131 deletions
|
|
@ -7,10 +7,42 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define OFFSET(addr, align) (((u32)(addr) & ((align)-1)))
|
||||
|
||||
// OSAudioSystem.c
|
||||
void __OSInitAudioSystem(void);
|
||||
void __OSStopAudioSystem(void);
|
||||
|
||||
// OSCache.c
|
||||
void __OSCacheInit(void);
|
||||
|
||||
// OSContext.c
|
||||
void __OSContextInit(void);
|
||||
|
||||
// OSMutex.c
|
||||
void __OSUnlockAllMutex(struct OSThread *thread);
|
||||
|
||||
// OSInterrupt.c
|
||||
extern void __RAS_OSDisableInterrupts_begin(void);
|
||||
extern void __RAS_OSDisableInterrupts_end(void);
|
||||
void __OSInterruptInit(void);
|
||||
void __OSModuleInit(void);
|
||||
|
||||
void __OSInitSystemCall(void);
|
||||
|
||||
// OSThread.c
|
||||
void __OSThreadInit(void);
|
||||
void __OSReschedule(void);
|
||||
|
||||
typedef void (*OSExceptionHandler)(__OSException, OSContext*);
|
||||
OSExceptionHandler __OSSetExceptionHandler(__OSException exception, OSExceptionHandler handler);
|
||||
__OSExceptionHandler __OSGetExceptionHandler(__OSException exception);
|
||||
OSTime __OSGetSystemTime();
|
||||
OSTime __OSTimeToSystemTime(OSTime);
|
||||
|
||||
// OSReboot
|
||||
void __OSReboot(u32 resetCode, u32 bootDol);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue