C55_l2AckInt
2-32
C Interface
Syntax
C55_l2AckInt();
Parameters
Void
Return Value
Void
Description
This API applies to the OMAP 2320/2420 platforms only.
The L2IC requires the interrupts be explicitly acknowledged prior to
returning from an ISR in order to allow other L2 interrupts to be
processed.
The DSP/BIOS HWI dispatcher handles this acknowledgement for HWI
functions coded in C that use the HWI dispatcher. The HWI_enter and
HWI_exit macros provide this functionality for HWI functions coded in
assembly.
The C55_l2AckInt function is for use only in HWI functions that are coded
in C but that do not use the HWI dispatcher. Such functions are "interrupt"
defined C code ISRs, which are dynamically plugged using C55_plug or
statically plugged using Tconf.
The C55_l2AckInt function is #defined so that inline code is generated in
order to minimize the register context saving code generated by the
compiler when using the "interrupt" keyword.
Important:
Recall that ISRs defined using the "interrupt" keyword are not
allowed to call any DSP/BIOS functions. The C55_l2AckInt function is an
exception to this rule.
Constraints and
Calling Context
❏
This API must be called only in the context of a HWI function. That
function must be coded in C using the interrupt keyword. The HWI
must not use the HWI dispatcher. In addition, the HWI function must
not call any DSP/BIOS functions other than C55_l2AckInt.
Example
interrupt void myIsr()
{
// Acknowledge this level 2 interrupt to the L2IC
C55_l2AckInt();
// Your code here
}
See Also
C55_l2AckInt
Explicitly acknowledge an L2 interrupt