wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
interrupts.h
Go to the documentation of this file.
1#pragma once
2#include <wut.h>
3#include <coreinit/context.h>
4
11#ifdef __cplusplus
12extern "C" {
13#endif
14
31
32typedef void(*OSUserInterruptHandler)(OSInterruptType type, OSContext* interruptedContext);
33
34BOOL
36
37BOOL
39
40BOOL
42
43BOOL
45
49
50void
52
53void
55
56#ifdef __cplusplus
57}
58#endif
59
BOOL OSIsInterruptEnabled()
void __OSDisableInterrupt(OSInterruptType type)
void(* OSUserInterruptHandler)(OSInterruptType type, OSContext *interruptedContext)
Definition interrupts.h:32
BOOL OSDisableInterrupts()
BOOL OSRestoreInterrupts(BOOL enable)
OSInterruptType
Definition interrupts.h:16
BOOL OSEnableInterrupts()
void __OSClearAndEnableInterrupt(OSInterruptType type)
OSUserInterruptHandler __OSSetInterruptHandler(OSInterruptType type, OSUserInterruptHandler handler)
@ OS_INTERRUPT_TYPE_DSPAI
Definition interrupts.h:22
@ OS_INTERRUPT_TYPE_DSPACC
Definition interrupts.h:24
@ OS_INTERRUPT_TYPE_PRIMARYI2C
Definition interrupts.h:21
@ OS_INTERRUPT_TYPE_IPCPPC2
Definition interrupts.h:28
@ OS_INTERRUPT_TYPE_DSP
Definition interrupts.h:18
@ OS_INTERRUPT_TYPE_DSPDSP
Definition interrupts.h:25
@ OS_INTERRUPT_TYPE_DSPAI2
Definition interrupts.h:23
@ OS_INTERRUPT_TYPE_GPIPPC
Definition interrupts.h:20
@ OS_INTERRUPT_TYPE_IPCPPC0
Definition interrupts.h:26
@ OS_INTERRUPT_TYPE_IPCPPC1
Definition interrupts.h:27
@ OS_INTERRUPT_TYPE_ERROR
Definition interrupts.h:17
@ OS_INTERRUPT_TYPE_GPU7
Definition interrupts.h:19
@ OS_INTERRUPT_TYPE_AHB
Definition interrupts.h:29
int32_t BOOL
Definition wut_types.h:7