OMAP 2420 and the C55 Module
DSP/BIOS for OMAP 2420
D-9
D.4
OMAP 2420 and the C55 Module
In addition to extensions to the HWI module, the following extensions
have been made to the C55 module to support the OMAP 2420 level 2
interrupts.
D.4.1
C55_plug API
For C55_plug, the range of vector IDs is extended from 0-31 to 0-63. The
IDs 32-63 correspond to level 2 interrupts 0-31 respectively. The c55.h
file now includes definitions C55_L2_INT0 through C55_L2_INT31 which
map to vector IDs 32-63.
D.4.2
New APIs
The following APIs have been added to the C55 module for use with
OMAP 2420. For details, see the topics for these APIs in the alphabetic
reference in Chapter 2.
❏
C55_disableInt. Disable an individual interrupt.
❏
C55_enableInt. Enable an individual interrupt.
❏
C55_l2AckInt. Explicitly acknowledge an L2 interrupt
❏
C55_l2DisableMIR. Disable a mask of L2 interrupts
❏
C55_l2EnableMIR. Enable a mask of L2 interrupts
❏
C55_l2SetIntPriority. Set the priority of a L2 interrupt
D.5
Building DSP/BIOS Applications for OMAP 2420
In order for the proper DSP/BIOS header files to be used during the build
process, you must define the symbol "_2420_" at assembly time.
If you are building from the command line, add the following option to
your assembler command line:
-d_2420_
If you are building with Code Composer Studio, follow these steps:
1) Open the application's CCStudio project.
2) Choose
Project->Build Options
to open the Build Options dialog.
3) Go to the Compiler tab and choose the Assembly category
4) Add
_2420_
to the “Pre-Define NAME (-ad)” field.
5) Click
OK
.