HWI_exit
Application Program Interface
2-167
C Interface
Syntax
none
Parameters
none
Return Value
none
Assembly Interface
Syntax
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
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, \
IER0RESTOREMASK, IER1RESTOREMASK, MIRRESTOREMASK, \
MIR1RESTOREMASK
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, \
IER0RESTOREMASK, IER1RESTOREMASK, MIRRESTOREMASK
Preconditions
none
Postconditions
intm=0
Modifies
Restores all registers saved with the HWI_enter mask
Reentrant
yes
Description
HWI_exit is an API (assembly macro) which is used to restore the context
that existed before a DSP/BIOS hardware interrupt (HWI) was invoked.
HWI_exit is used by HWIs that are user-dispatched, as opposed to HWIs
that are handled by the HWI dispatcher. HWI_exit must not be issued by
HWIs that are handled by the HWI dispatcher.
If the HWI dispatcher is not used by an HWI object, HWI_exit must be the
last statement in an HWI that uses DSP/BIOS API calls which could
trigger other DSP/BIOS objects, such as posting a SWI or semaphore.
HWI_exit
Hardware ISR epilog