首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >虚假中断处理

虚假中断处理
EN

Stack Overflow用户
提问于 2017-03-13 21:33:17
回答 1查看 4.5K关注 0票数 1

我正在使用带有xr17v358芯片的p2041进行串行interface.when,我正在运行我的测试应用程序,我正在显示禁用irq消息。在那之后,我在我的isr中添加了一些调试打印,所以我知道,即使我的卡没有生成中断,它也会连续调用isr,我只是想知道虚假中断。什么是虚假中断?在基于linux的系统中该如何处理?伪中断是硬件问题还是软件问题?如何了解虚假中断的来源?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-03-18 10:15:09

我想在这里补充一些信息,手册中提到了虚假中断。

来自arm技术手册http://www.cl.cam.ac.uk/research/srg/han/ACS-P35/zynq/arm_gic_architecture_specification.pdf

代码语言:javascript
复制
1.4.4 Spurious interrupts

It is possible that an interrupt that the GIC has signaled to a processor is no longer required. If this happens, when
the processor acknowledges the interrupt, the GIC returns a special Interrupt ID that identifies the interrupt as a
spurious interrupt. Example reasons for spurious interrupts are:
• prior to the processor acknowledging an interrupt:
— software changes the priority of the interrupt
— software disables the interrupt
— software changes the processor that the interrupt targets
• for a 1-N interrupt, another target processor has previously acknowledged that interrupt.
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42764945

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档