donut-decomp/include/os.h
2021-10-21 16:47:14 +02:00

24 lines
No EOL
418 B
C

#pragma once
#include <types.h>
#ifdef __cplusplus
extern "C" {
#endif
void OSReport(const char *fmt, ...);
BOOL OSDisableInterrupts(void);
BOOL OSResetInterrupts(BOOL enabled);
void *OSGetMEM1ArenaHi();
void *OSGetMEM1ArenaLo();
void *OSGetMEM2ArenaHi();
void *OSGetMEM2ArenaLo();
void *OSAllocFromMEM1ArenaLo(u32 size, u32 align);
void *OSAllocFromMEM2ArenaLo(u32 size, u32 align);
#ifdef __cplusplus
}
#endif