HWI_enter
Application Program Interface
2-163
C Interface
Syntax
none
Parameters
none
Return Value
none
Assembly Interface
Syntax
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
OMAP 2320 only:
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
OMAP 2420 only:
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
Preconditions
intm = 1
Postconditions
intm=0, braf=0, cpl=1, m40=0, satd=0, sxmd=0, c16=0, frct=0, c54cm=0,
arms=1, rdm=0, cdplc=0, ar[0...7]lc=0, sata=0, smul=0, sst=0
Both the user stack pointer (XSP and the system stack pointer (XSSP)
are left aligned to even address boundaries in compliance with standard
C conventions.
Modifies
xar0, xar1, ac0g, ac0h, ier0, ier1, ac1, ac2
Reentrant
yes
Description
HWI_enter is an API (assembly macro) used to save the appropriate
context for a DSP/BIOS hardware interrupt (HWI).
The arguments to HWI_enter are bitmasks that define the set of registers
to be saved and bitmasks that define which interrupts are to be masked
during the execution of the HWI.
HWI_enter
Hardware ISR prolog