This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IPC中断响应问题



我想问一下,如果core1和core2同时向core0发送IPC中断,core0该如何响应?

我在程序中的设计是这样的,为了实现IPC有效性测试,我将core0设为主控核,core0向core1和core2发送IPC中断,当core1和core2接收到core0的中断后进入中断服务函数,这两个核的中断服务函数为向core0产生IPC中断,其中core1发送ipc中断的标号为0x10,core2发送中断的标号为0x20。当core0接收到中断后对IPCAR0中的标号来进行检测,判断是否为这两个核产生的IPC中断。

但是在程序的运行后我发现,core确实进了两次IPC中断服务函数,但是接收到的中断标记却不对,一次是0x30,第二次是0。但是单步运行是正确的,所以我想问一下是不是和中断优先级有关系?

多谢~~