mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-30 01:49:06 -04:00
27 lines
550 B
C
27 lines
550 B
C
#ifndef _DOLPHIN_OS
|
|
#define _DOLPHIN_OS
|
|
|
|
#include "types.h"
|
|
#include "dolphin/OSContext.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void OSReport(const char*, ...);
|
|
|
|
asm BOOL OSDisableInterrupts(void);
|
|
asm BOOL OSEnableInterrupts(void);
|
|
asm BOOL OSRestoreInterrupts(BOOL level);
|
|
|
|
|
|
void __RAS_OSDisableInterrupts_begin(void);
|
|
void __RAS_OSDisableInterrupts_end(void);
|
|
|
|
typedef void (*OSExceptionHandler)(u8, OSContext*);
|
|
OSExceptionHandler __OSSetExceptionHandler(u8, OSExceptionHandler);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
#endif
|