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.

有关PCIE和主机通信的问题,如下所示,在0x21800064上写1,通知主机产生中断,如果禁用MSI,将生成遗留中断断言消息。问题1,只要写1了之后,如果不写0的话,是不是主机的中断一直处在挂起的状态,其它的中断程序都不会执行? 问题2,后面的那句如果禁用了MSI,将产生遗留的中断断言消息,我可以理解为MSI是用来消除PCIE发向主机的中断的吗?



#define PCIE_EP_IRQ_SET 0x21800064 //EP_IRQ_SET, Endpoint Interrupt Request Set Register,Write 1 to generate assert interrupt message.
//If MSI is disabled, legacy interrupt assert message will be generated.

Void ClearInterruptToHost()
{

*((UInt32 *)PCIE_EP_IRQ_SET) = 0x0;
printf("DSP clear interrupt to host.\n");
}