HWI Module
2-148
2.10
HWI Module
The HWI module is the hardware interrupt manager.
Functions
❏
HWI_disable. Disable hardware interrupts
❏
HWI_dispatchPlug. Plug the HWI dispatcher
❏
HWI_enable. Enable hardware interrupts
❏
HWI_enter. Hardware ISR prolog
❏
HWI_exit. Hardware ISR epilog
❏
HWI_isHWI. Check current thread calling context.
❏
HWI_restore. Restore hardware interrupt state
Constants, Types, and
Structures
typedef struct HWI_Attrs {
Uns ier0mask; /* IER0 bitmask */
Uns ier1mask; /* IER1 bitmask */
Arg arg; /* fxn arg (default = 0) */
LgUns mirmask; /* OMAP 2320/2420 only */
LgUns mir1mask; /* OMAP 2320 only */
} HWI_Attrs;
HWI_Attrs HWI_ATTRS = {
1, /* IER0 mask (1 => self) */
1, /* IER1 mask (1 => self) */
0 /* argument to ISR */
};
/* If ier0mask and ier1mask are both '1',
mask to disable "self" is created. */
Configuration
Properties
The following list shows the properties that can be configured in a Tconf
script, along with their types and default values. For details, see the HWI
Manager Properties and HWI Object Properties headings. For
descriptions of data types, see Section 1.4,
Module Configuration Parameters
C55x Name
Type
Default (Enum Options)
STACKMODE
EnumString
"C54X_STK"
("USE_RETA", "NO_RETA")
INTC_BASE
Numeric
0x7e4800
(OMAP 2320/2420 only)