mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-17 22:12:43 -04:00
cd401d41d6
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc * bunch of j2d work. d_drawlist / d_attention cleanup * progress / asm * cleanup wip * decompile JStage * setup some more JStudio structs * set up d_demo classes * some d_demo work * cleanup dolphin os stuff * some initial dEvent documentation * some At collision documentation * match JUTConsole::doDraw * dbgs work / split up some of d_a_alink into .inc files * d_a_alink_spinner work
32 lines
1011 B
C
32 lines
1011 B
C
#ifndef OSINTERRUPT_H
|
|
#define OSINTERRUPT_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef s16 OSInterrupt;
|
|
typedef u32 OSInterruptMask;
|
|
typedef void (*OSInterruptHandler)(OSInterrupt interrupt, struct OSContext* context);
|
|
|
|
BOOL OSDisableInterrupts(void);
|
|
void __RAS_OSDisableInterrupts_end(void);
|
|
BOOL OSEnableInterrupts(void);
|
|
BOOL OSRestoreInterrupts(BOOL enable);
|
|
OSInterruptHandler __OSSetInterruptHandler(OSInterrupt interrupt, OSInterruptHandler handler);
|
|
OSInterruptHandler __OSGetInterruptHandler(s16 index);
|
|
void __OSInterruptInit(void);
|
|
static OSInterruptMask SetInterruptMask(OSInterruptMask param_0, OSInterruptMask param_1);
|
|
OSInterruptMask __OSMaskInterrupts(OSInterruptMask mask);
|
|
OSInterruptMask __OSUnmaskInterrupts(OSInterruptMask mask);
|
|
void __OSDispatchInterrupt(OSInterrupt interrupt, struct OSContext* context);
|
|
static void ExternalInterruptHandler(OSInterrupt interrupt, struct OSContext* context);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif /* OSINTERRUPT_H */
|