donut-decomp/include/os.h

24 lines
418 B
C
Raw Normal View History

2021-10-14 15:50:30 +00:00
#pragma once
2021-10-14 19:10:04 +00:00
#include <types.h>
2021-10-14 15:50:30 +00:00
#ifdef __cplusplus
extern "C" {
#endif
void OSReport(const char *fmt, ...);
2021-10-14 19:10:04 +00:00
BOOL OSDisableInterrupts(void);
BOOL OSResetInterrupts(BOOL enabled);
2021-10-21 14:47:14 +00:00
void *OSGetMEM1ArenaHi();
void *OSGetMEM1ArenaLo();
void *OSGetMEM2ArenaHi();
void *OSGetMEM2ArenaLo();
void *OSAllocFromMEM1ArenaLo(u32 size, u32 align);
void *OSAllocFromMEM2ArenaLo(u32 size, u32 align);
2021-10-14 15:50:30 +00:00
#ifdef __cplusplus
}
#endif