忘记密码   免费注册 查看新帖 |

ChinaUnix.net

  平台 论坛 博客 文库 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
12
最近访问板块 发新帖
楼主: mordorwww

[硬件及驱动] 内核 edge中断 在中断被关闭时是如何重新触发的 [复制链接]

论坛徽章:
0
发表于 2018-04-16 16:01 |显示全部楼层
回复 10# mordorwww


In a GIC that does not support interrupt grouping:
• the GICD_CTLR.Enable bit controls the forwarding of interrupts from the Distributor to the CPU interfaces
• the GICC_CTLR.Enable bit controls the signaling of interrupts by the CPU interface to the connected
processor.
For the Distributor:
• When GICD_CTLR.Enable is set to 1, the Distributor forwards the highest priority pending interrupt for each
CPU interface, subject to the prioritization rules.
• When GICD_CTLR.Enable is set to 0:
— the Distributor does not forward pending interrupts to the CPU interfaces
— it is  IMPLEMENTATION DEFINED whether an edge-triggered interrupt signal sets the interrupt to the
pending state.

— reads of GICC_IAR, GICC_AIAR, GICC_HPPIR, or GICC_AHPPIR return a spurious interrupt ID
— software can read or write the Distributor registers
— it is  IMPLEMENTATION DEFINED whether SGIs can be set pending using GICD_SGIR.

看起来如果屏蔽某个edge interrupt的话,来中断的话,实现相关可能不会设置pending状态,那么中断就丢失了。
level interrupt没有这个问题,不管屏蔽没有,都会设置pending


您需要登录后才可以回帖 登录 | 注册

本版积分规则

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号 北京市公安局海淀分局网监中心备案编号:11010802020122
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:wangnan@it168.com
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP