43 #define IM_NONE (0xffffffff) 48 #define IRQ_MEMADDRESS 4 50 #define IRQ_DSP_ARAM 6 53 #define IRQ_EXI0_EXI 9 54 #define IRQ_EXI0_TC 10 55 #define IRQ_EXI0_EXT 11 56 #define IRQ_EXI1_EXI 12 57 #define IRQ_EXI1_TC 13 58 #define IRQ_EXI1_EXT 14 59 #define IRQ_EXI2_EXI 15 60 #define IRQ_EXI2_TC 16 62 #define IRQ_PI_PETOKEN 18 63 #define IRQ_PI_PEFINISH 19 67 #define IRQ_PI_ERROR 23 69 #define IRQ_PI_DEBUG 25 76 #define IRQMASK(irq) (0x80000000u>>irq) 78 #define IM_MEM0 IRQMASK(IRQ_MEM0) 79 #define IM_MEM1 IRQMASK(IRQ_MEM1) 80 #define IM_MEM2 IRQMASK(IRQ_MEM2) 81 #define IM_MEM3 IRQMASK(IRQ_MEM3) 82 #define IM_MEMADDRESS IRQMASK(IRQ_MEMADDRESS) 83 #define IM_MEM (IM_MEM0|IM_MEM1|IM_MEM2|IM_MEM3|IM_MEMADDRESS) 85 #define IM_DSP_AI IRQMASK(IRQ_DSP_AI) 86 #define IM_DSP_ARAM IRQMASK(IRQ_DSP_ARAM) 87 #define IM_DSP_DSP IRQMASK(IRQ_DSP_DSP) 88 #define IM_DSP (IM_DSP_AI|IM_DSP_ARAM|IM_DSP_DSP) 90 #define IM_AI IRQMASK(IRQ_AI) 92 #define IM_EXI0_EXI IRQMASK(IRQ_EXI0_EXI) 93 #define IM_EXI0_TC IRQMASK(IRQ_EXI0_TC) 94 #define IM_EXI0_EXT IRQMASK(IRQ_EXI0_EXT) 95 #define IM_EXI0 (IM_EXI0_EXI|IM_EXI0_TC|IM_EXI0_EXT) 97 #define IM_EXI1_EXI IRQMASK(IRQ_EXI1_EXI) 98 #define IM_EXI1_TC IRQMASK(IRQ_EXI1_TC) 99 #define IM_EXI1_EXT IRQMASK(IRQ_EXI1_EXT) 100 #define IM_EXI1 (IM_EXI1_EXI|IM_EXI1_TC|IM_EXI1_EXT) 102 #define IM_EXI2_EXI IRQMASK(IRQ_EXI2_EXI) 103 #define IM_EXI2_TC IRQMASK(IRQ_EXI2_TC) 104 #define IM_EXI2 (IM_EXI2_EXI|IM_EXI2_TC) 105 #define IM_EXI (IM_EXI0|IM_EXI1|IM_EXI2) 107 #define IM_PI_CP IRQMASK(IRQ_PI_CP) 108 #define IM_PI_PETOKEN IRQMASK(IRQ_PI_PETOKEN) 109 #define IM_PI_PEFINISH IRQMASK(IRQ_PI_PEFINISH) 110 #define IM_PI_SI IRQMASK(IRQ_PI_SI) 111 #define IM_PI_DI IRQMASK(IRQ_PI_DI) 112 #define IM_PI_RSW IRQMASK(IRQ_PI_RSW) 113 #define IM_PI_ERROR IRQMASK(IRQ_PI_ERROR) 114 #define IM_PI_VI IRQMASK(IRQ_PI_VI) 115 #define IM_PI_DEBUG IRQMASK(IRQ_PI_DEBUG) 116 #define IM_PI_HSP IRQMASK(IRQ_PI_HSP) 118 #define IM_PI (IM_PI_CP|IM_PI_PETOKEN|IM_PI_PEFINISH|IM_PI_SI|IM_PI_DI|IM_PI_RSW|IM_PI_ERROR|IM_PI_VI|IM_PI_DEBUG|IM_PI_HSP) 119 #elif defined(HW_RVL) 120 #define IM_PI_ACR IRQMASK(IRQ_PI_ACR) 121 #define IM_PI (IM_PI_CP|IM_PI_PETOKEN|IM_PI_PEFINISH|IM_PI_SI|IM_PI_DI|IM_PI_RSW|IM_PI_ERROR|IM_PI_VI|IM_PI_DEBUG|IM_PI_HSP|IM_PI_ACR) u32 IRQ_Disable(void)
Disable the complete IRQ subsystem. No interrupts will be served. Multithreading kernel fully disable...
Definition: irq.c:411
void __UnmaskIrq(u32 nMask)
Definition: irq.c:324
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
raw_irq_handler_t IRQ_Free(u32 nIrq)
Free an interrupt handler.
Definition: irq.c:399
AVFormatContext * ctx
Definition: record_ffmpeg.c:247
GLint level
Definition: glext.h:6293
void IRQ_Restore(u32 level)
Restore the IRQ subsystem with the given level. This is function should be used together with IRQ_Dis...
Definition: irq.c:418
void __MaskIrq(u32 nMask)
Definition: irq.c:337
raw_irq_handler_t IRQ_Request(u32 nIrq, raw_irq_handler_t pHndl, void *pCtx)
Register an interrupt handler.
Definition: irq.c:376
void(* raw_irq_handler_t)(u32 irq, void *ctx)
function pointer typedef for the interrupt handler callback
Definition: irq.h:134
raw_irq_handler_t IRQ_GetHandler(u32 nIrq)
Get the handler from interrupt number.
Definition: irq.c:388
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19