All:
Does the compiler handle "register preservation" on non-maskable interrupt (NMI) for the OMAP-L138?
I am just starting, but it looks like I am not returning from the nmiIsr.
Prior to getting the interrupt, an FPGA sends the NMI to active low condition. The line "Clear NMI driver" will take that active low condition away.
interrupt void nmiIsr(void)
{
// Set flag.
nmi_occurred = 1;
// Clear NMI driver.
DSP_INT_CLR = 0;
}
Again, do I need to add anything to my ISR to get NMI to work? (I may need to add delay to make sure NMI is not active when I return from the interrupt, but other than that, I am not sure if there is additional ISR code that needs to be added. Some of the documentation hints that there may be additional items...)