Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
OSInterrupt.h File Reference

Go to the source code of this file.

Typedefs

typedef struct OSContext OSContext
 
typedef s16 __OSInterrupt
 
typedef u32 OSInterruptMask
 
typedef void(* __OSInterruptHandler) (__OSInterrupt interrupt, OSContext *context)
 

Enumerations

enum  OSInterruptType {
  OS_INTR_MEM_0 , OS_INTR_MEM_1 , OS_INTR_MEM_2 , OS_INTR_MEM_3 ,
  OS_INTR_MEM_ADDRESS , OS_INTR_DSP_AI , OS_INTR_DSP_ARAM , OS_INTR_DSP_DSP ,
  OS_INTR_AI_AI , OS_INTR_EXI_0_EXI , OS_INTR_EXI_0_TC , OS_INTR_EXI_0_EXT ,
  OS_INTR_EXI_1_EXI , OS_INTR_EXI_1_TC , OS_INTR_EXI_1_EXT , OS_INTR_EXI_2_EXI ,
  OS_INTR_EXI_2_TC , OS_INTR_PI_CP , OS_INTR_PI_PE_TOKEN , OS_INTR_PI_PE_FINISH ,
  OS_INTR_PI_SI , OS_INTR_PI_DI , OS_INTR_PI_RSW , OS_INTR_PI_ERROR ,
  OS_INTR_PI_VI , OS_INTR_PI_DEBUG , OS_INTR_PI_HSP , OS_INTR_PI_ACR ,
  OS_INTR_28 , OS_INTR_29 , OS_INTR_30 , OS_INTR_31 ,
  OS_INTR_MAX
}
 

Functions

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 (u8 interrupt, OSContext *context)
 
static void ExternalInterruptHandler (__OSInterrupt interrupt, OSContext *context)
 
void __RAS_OSDisableInterrupts_begin (void)
 

Typedef Documentation

◆ __OSInterrupt

◆ __OSInterruptHandler

typedef void(* __OSInterruptHandler) (__OSInterrupt interrupt, OSContext *context)

◆ OSContext

◆ OSInterruptMask

Enumeration Type Documentation

◆ OSInterruptType

Enumerator
OS_INTR_MEM_0 
OS_INTR_MEM_1 
OS_INTR_MEM_2 
OS_INTR_MEM_3 
OS_INTR_MEM_ADDRESS 
OS_INTR_DSP_AI 
OS_INTR_DSP_ARAM 
OS_INTR_DSP_DSP 
OS_INTR_AI_AI 
OS_INTR_EXI_0_EXI 
OS_INTR_EXI_0_TC 
OS_INTR_EXI_0_EXT 
OS_INTR_EXI_1_EXI 
OS_INTR_EXI_1_TC 
OS_INTR_EXI_1_EXT 
OS_INTR_EXI_2_EXI 
OS_INTR_EXI_2_TC 
OS_INTR_PI_CP 
OS_INTR_PI_PE_TOKEN 
OS_INTR_PI_PE_FINISH 
OS_INTR_PI_SI 
OS_INTR_PI_DI 
OS_INTR_PI_RSW 
OS_INTR_PI_ERROR 
OS_INTR_PI_VI 
OS_INTR_PI_DEBUG 
OS_INTR_PI_HSP 
OS_INTR_PI_ACR 
OS_INTR_28 
OS_INTR_29 
OS_INTR_30 
OS_INTR_31 
OS_INTR_MAX 

Function Documentation

◆ __OSDispatchInterrupt()

void __OSDispatchInterrupt ( u8  interrupt,
OSContext context 
)

◆ __OSGetInterruptHandler()

__OSInterruptHandler __OSGetInterruptHandler ( s16  index)

◆ __OSInterruptInit()

void __OSInterruptInit ( void  )

◆ __OSMaskInterrupts()

OSInterruptMask __OSMaskInterrupts ( OSInterruptMask  mask)

◆ __OSSetInterruptHandler()

__OSInterruptHandler __OSSetInterruptHandler ( __OSInterrupt  interrupt,
__OSInterruptHandler  handler 
)

◆ __OSUnmaskInterrupts()

OSInterruptMask __OSUnmaskInterrupts ( OSInterruptMask  mask)

◆ __RAS_OSDisableInterrupts_begin()

void __RAS_OSDisableInterrupts_begin ( void  )

◆ __RAS_OSDisableInterrupts_end()

void __RAS_OSDisableInterrupts_end ( void  )

◆ ExternalInterruptHandler()

static void ExternalInterruptHandler ( __OSInterrupt  interrupt,
OSContext context 
)
static

◆ OSDisableInterrupts()

BOOL OSDisableInterrupts ( void  )

◆ OSEnableInterrupts()

BOOL OSEnableInterrupts ( void  )

◆ OSRestoreInterrupts()

BOOL OSRestoreInterrupts ( BOOL  enable)

◆ SetInterruptMask()

static OSInterruptMask SetInterruptMask ( OSInterruptMask  param_0,
OSInterruptMask  param_1 
)
static