I want to fill up the vector table with default ISRs that do sensible things in the event of a spurious interrupt. There is a vector table of 128 PIE vectors defined in the linker script like this:
.vectors: > PIE PAGE 1
SPRU078E defines this in table 6.4. The first 32 vectors are for core interrupts, and I'm not sure how to acknowledge these. The IFR only has 16 bits, yet there are 32 interrupts. And the ones that say "not used-see PIE group X"; am I supposed to install vectors here at all?
As for the rest of the vectors, I have 12 separate dummy ISRs that know what PIE group they are in, and acknowledge the right PIEACK bit, so that a spurious interrupt doesn't kill all the interrupts in that PIE group because of failure to acknowledge the spurious interrupt. So that's pretty straightforward. Those first 32 vectors are a bit of a mystery, though.