ARM GIC中断控制器原文详解

更新时间:2023-07-01 19:14:04 阅读: 评论:0

生活中来ARM GIC中断控制器原文详解
1 GIC : Generic Interrupt Controller
Distributor
–detecting, disabling, prioritizing, directing interrupts to CPU(s).
CPU interfaces
–asrting an interrupt indication to the CPU
Support max to 1020 interrupts
新右卫门
体态轻盈2 PPI,SPI and SGI
Peripheral interrupt
PPI : Private Peripheral Interrupt
specific to a single processor
SPI : Shared Peripheral Interrupt
Distributor can route to any of a specified combination of processors
Software-generated interrupt (SGI)
This is an interrupt generated by software writing to a GICD_SGIR register in the GIC. The system us SGIs for interprocessor communication
ID0-ID15 are ud for SGIs
ID16-ID31 are ud for PPIs
描写天气
ID32+ are ud for SPIs
3 Models for handling interrupts in MP core学生发展规划
1-N model
Only one processor handles this interrupt. The system must implement a mechanism to determine which processor handles an interrupt that is programmed to target more than one processor.
N-N model
All processors receive the interrupt independently. When a processor acknowledges the interrupt, the interrupt pending state is cleared only for that processor. The interrupt remains pending for the other processors.
According to GIC document(p3-33)
孔雀东南飞的故事
software generated interrupts (SGIs) using the GIC N-N model全国专科学校
peripheral (hardware) interrupts PPI and SPI using the GIC 1-N model.
道奇凯领
4 GIC interrupt handling quence
1. The GIC determines the interrupts that are enabled.
2. For each pending interrupt, the GIC determines the targeted processor or processors.
3. For each CPU interface, the Distributor forwards the highest priority pending interrupt that targets that interface.
4. Each CPU interface determines whether to signal an interrupt request to its processor, and if required, does so.
5. The processor acknowledges the interrupt, and the GIC returns the interrupt ID and updates the interrupt state.
6. After processing the interrupt, the processor signals End of Interrupt (EOI) to the GIC.

本文发布于:2023-07-01 19:14:04,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1072688.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:详解   规划   描写   控制器
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图