Now I have the following problem when using CpIntc in sysbios for C6678. I configured each core to use a unique EDMA completion system interrupt by using region. Since host interrupt can only uniquely mapped to hwi in cfg script, I mapped all of these system interrupts to the same host interrupt to avoid using too many hwi. As a result, any of these system interrupts causes the plug getting called on all cores. When my dispatch plug gets called on a particular core, I cannot figure out which system interrupt triggered this host interrupt. From your code CpIntc.c, I understand that SECR cannot be used because that sysbios first clears system interrupt before calling the plug. I can use semaphore to figure out what is happening, but does CpIntc itself or any of your other package provide a way for finding out what system interrupt triggered the plug call?
By the way, I cannot use CpIntc module from CSL since I need to use GateMP.
Dongning