wut  v1.5.0
Wii U Toolchain
Typedefs | Enumerations | Functions
Interrupt Management
Collaboration diagram for Interrupt Management:

Typedefs

typedef enum OSInterruptType OSInterruptType
 
typedef void(* OSUserInterruptHandler) (OSInterruptType type, OSContext *interruptedContext)
 

Enumerations

enum  OSInterruptType {
  OS_INTERRUPT_TYPE_ERROR = 0 ,
  OS_INTERRUPT_TYPE_DSP = 1 ,
  OS_INTERRUPT_TYPE_GPU7 = 2 ,
  OS_INTERRUPT_TYPE_GPIPPC = 3 ,
  OS_INTERRUPT_TYPE_PRIMARYI2C = 4 ,
  OS_INTERRUPT_TYPE_DSPAI = 5 ,
  OS_INTERRUPT_TYPE_DSPAI2 = 6 ,
  OS_INTERRUPT_TYPE_DSPACC = 7 ,
  OS_INTERRUPT_TYPE_DSPDSP = 8 ,
  OS_INTERRUPT_TYPE_IPCPPC0 = 9 ,
  OS_INTERRUPT_TYPE_IPCPPC1 = 10 ,
  OS_INTERRUPT_TYPE_IPCPPC2 = 11 ,
  OS_INTERRUPT_TYPE_AHB = 12
}
 

Functions

BOOL OSEnableInterrupts ()
 
BOOL OSDisableInterrupts ()
 
BOOL OSRestoreInterrupts (BOOL enable)
 
BOOL OSIsInterruptEnabled ()
 
OSUserInterruptHandler __OSSetInterruptHandler (OSInterruptType type, OSUserInterruptHandler handler)
 
void __OSClearAndEnableInterrupt (OSInterruptType type)
 
void __OSDisableInterrupt (OSInterruptType type)
 

Detailed Description

Typedef Documentation

◆ OSInterruptType

◆ OSUserInterruptHandler

typedef void(* OSUserInterruptHandler) (OSInterruptType type, OSContext *interruptedContext)

Definition at line 32 of file interrupts.h.

Enumeration Type Documentation

◆ OSInterruptType

Enumerator
OS_INTERRUPT_TYPE_ERROR 
OS_INTERRUPT_TYPE_DSP 
OS_INTERRUPT_TYPE_GPU7 
OS_INTERRUPT_TYPE_GPIPPC 
OS_INTERRUPT_TYPE_PRIMARYI2C 
OS_INTERRUPT_TYPE_DSPAI 
OS_INTERRUPT_TYPE_DSPAI2 
OS_INTERRUPT_TYPE_DSPACC 
OS_INTERRUPT_TYPE_DSPDSP 
OS_INTERRUPT_TYPE_IPCPPC0 
OS_INTERRUPT_TYPE_IPCPPC1 
OS_INTERRUPT_TYPE_IPCPPC2 
OS_INTERRUPT_TYPE_AHB 

Definition at line 15 of file interrupts.h.

Function Documentation

◆ OSEnableInterrupts()

BOOL OSEnableInterrupts ( )

◆ OSDisableInterrupts()

BOOL OSDisableInterrupts ( )

◆ OSRestoreInterrupts()

BOOL OSRestoreInterrupts ( BOOL  enable)

◆ OSIsInterruptEnabled()

BOOL OSIsInterruptEnabled ( )

◆ __OSSetInterruptHandler()

OSUserInterruptHandler __OSSetInterruptHandler ( OSInterruptType  type,
OSUserInterruptHandler  handler 
)

◆ __OSClearAndEnableInterrupt()

void __OSClearAndEnableInterrupt ( OSInterruptType  type)

◆ __OSDisableInterrupt()

void __OSDisableInterrupt ( OSInterruptType  type)