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

Functions

vu32 __PIRegs[12] AT_ADDRESS (0xCC003000)
 
vu16 __MEMRegs[64] AT_ADDRESS (0xCC004000)
 
asm BOOL OSDisableInterrupts (void)
 
asm BOOL OSEnableInterrupts (void)
 
asm BOOL OSRestoreInterrupts (register BOOL status)
 
__OSInterruptHandler __OSSetInterruptHandler (__OSInterrupt type, __OSInterruptHandler handler)
 
__OSInterruptHandler __OSGetInterruptHandler (__OSInterrupt type)
 
void __OSInterruptInit (void)
 
u32 SetInterruptMask (OSInterruptMask mask, OSInterruptMask current)
 
OSInterruptMask __OSMaskInterrupts (OSInterruptMask global)
 
OSInterruptMask __OSUnmaskInterrupts (OSInterruptMask global)
 
void __OSDispatchInterrupt (__OSException exception, OSContext *context)
 
static asm void ExternalInterruptHandler (register __OSInterrupt type, register OSContext *context)
 

Variables

static __OSInterruptHandlerInterruptHandlerTable
 
static u32 InterruptPrioTable []
 
OSTime __OSLastInterruptTime
 
s16 __OSLastInterrupt
 
u32 __OSLastInterruptSrr0
 

Function Documentation

◆ __OSDispatchInterrupt()

void __OSDispatchInterrupt ( __OSException  exception,
OSContext context 
)

◆ __OSGetInterruptHandler()

__OSInterruptHandler __OSGetInterruptHandler ( __OSInterrupt  type)

◆ __OSInterruptInit()

void __OSInterruptInit ( void  )

◆ __OSMaskInterrupts()

OSInterruptMask __OSMaskInterrupts ( OSInterruptMask  global)

◆ __OSSetInterruptHandler()

__OSInterruptHandler __OSSetInterruptHandler ( __OSInterrupt  type,
__OSInterruptHandler  handler 
)

◆ __OSUnmaskInterrupts()

OSInterruptMask __OSUnmaskInterrupts ( OSInterruptMask  global)

◆ AT_ADDRESS() [1/2]

vu32 __PIRegs[12] AT_ADDRESS ( 0xCC003000  )

◆ AT_ADDRESS() [2/2]

vu16 __MEMRegs[64] AT_ADDRESS ( 0xCC004000  )

◆ ExternalInterruptHandler()

static asm void ExternalInterruptHandler ( register __OSInterrupt  type,
register OSContext context 
)
static

◆ OSDisableInterrupts()

asm BOOL OSDisableInterrupts ( void  )

◆ OSEnableInterrupts()

asm BOOL OSEnableInterrupts ( void  )

◆ OSRestoreInterrupts()

asm BOOL OSRestoreInterrupts ( register BOOL  status)

◆ SetInterruptMask()

u32 SetInterruptMask ( OSInterruptMask  mask,
OSInterruptMask  current 
)

Variable Documentation

◆ __OSLastInterrupt

s16 __OSLastInterrupt

◆ __OSLastInterruptSrr0

u32 __OSLastInterruptSrr0

◆ __OSLastInterruptTime

OSTime __OSLastInterruptTime

◆ InterruptHandlerTable

__OSInterruptHandler* InterruptHandlerTable
static

◆ InterruptPrioTable

u32 InterruptPrioTable[]
static
Initial value:
= {
0x00000100, 0x00000040, 0xF8000000, 0x00000200, 0x00000080, 0x00003000,
0x00000020, 0x03FF8C00, 0x04000000, 0x00004000, 0xFFFFFFFF,
}