OMAP 2320 and the HWI Module
DSP/BIOS for OMAP 2320
C-7
C.3.4
HWI_enter and HWI_exit APIs
The HWI_enter and HWI_exit assembly language macros have been
enhanced to support selective interrupt nesting control of level 2
interrupts. This matches the way level 1 interrupts are controlled.
The argument lists for these macros have two additional interrupt mask
arguments. In HWI_enter, these 32-bit bitmasks define which level 2
interrupts are to be masked while executing the HWI body. In HWI_exit,
these masks define which level 2 interrupts are to be restored to their
prior state before returning from the interrupt.
The OMAP 2320 macro invocation syntax is shown below:
HWI_enter C55_AR_DR_X_MASK, C55_ACC_X_MASK,
C55_MISC1_X_MASK, C55_MISC2_X_MASK, C55_MISC3_X_MASK,
IER0DISABLEMASK, IER1DISABLEMASK,
MIRDISABLEMASK,
MIR1DISABLEMASK
HWI_exit C55_AR_DR_X_MASK, C55_ACC_X_MASK,
C55_MISC1_X_MASK, C55_MISC2_X_MASK, C55_MISC3_X_MASK,
IER0RESTOREMASK, IER1RESTOREMASK,
MIRRESTOREMASK,
MIR1RESTOREMASK