当前位置: 技术问答>linux和unix
中断向量AIC_SVR,AIC_IVR
来源: 互联网 发布时间:2016-05-06
本文导语: 有关于中断向量的问题AIC_SVR,AIC_IVR, 想请教. AIC_SVR中存放的应该是32个外设中断程序的地址吧,为什么在下面的程序中32个AIC_SVR分别设置了值为0-31 ? void __init at91_aic_init(unsigned int priority[NR_AIC_IRQS]) { u...
有关于中断向量的问题AIC_SVR,AIC_IVR, 想请教.
AIC_SVR中存放的应该是32个外设中断程序的地址吧,为什么在下面的程序中32个AIC_SVR分别设置了值为0-31 ?
void __init at91_aic_init(unsigned int priority[NR_AIC_IRQS])
{
unsigned int i;
/*
* The IVR is used by macro get_irqnr_and_base to read and verify.
* The irq number is NR_AIC_IRQS when a spurious interrupt has occurred.
*/
for (i = 0; i
AIC_SVR中存放的应该是32个外设中断程序的地址吧,为什么在下面的程序中32个AIC_SVR分别设置了值为0-31 ?
void __init at91_aic_init(unsigned int priority[NR_AIC_IRQS])
{
unsigned int i;
/*
* The IVR is used by macro get_irqnr_and_base to read and verify.
* The irq number is NR_AIC_IRQS when a spurious interrupt has occurred.
*/
for (i = 0; i