Files
ac-decomp/include/dolphin/OS/os.h
T
2023-02-15 09:41:25 +00:00

29 lines
626 B
C

#ifndef _DOLPHIN_OS
#define _DOLPHIN_OS
#include "types.h"
#include "dolphin/OS/OSContext.h"
#include "va_args.h"
#ifdef __cplusplus
extern "C" {
#endif
void OSReport(const char*, ...);
void OSVReport(const char* format, va_list list);
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