《電子技術應用》
您所在的位置:首頁 > 嵌入式技術 > 設計應用 > ARM GIC中斷控制器原文詳解
ARM GIC中斷控制器原文詳解
摘要: ARMGIC中斷控制器介紹。
關鍵詞: ARM GIC中斷控制器
Abstract:
Key words :

1 GIC : Generic Interrupt Controller

Distributor

–detecting, disabling, prioritizing, directing interrupts to CPU(s).

CPU interfaces

–asserting an interrupt indication to the CPU

Support max to 1020 interrupts

 

<a class=ARM GIC中斷控制器原文詳解" src="http://files.chinaaet.com/images/2012/05/17/086dc520-b7e6-426c-8882-dd6cdfd97fca.jpg" />

 

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 uses SGIs for interprocessor communication

 

ID0-ID15 are used for SGIs

 

ID16-ID31 are used for PPIs

ID32+ are used 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.

 

 

ARM GIC中斷控制器原文詳解

 

4 GIC interrupt handling sequence

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.

 

 

此內容為AET網站原創,未經授權禁止轉載。
主站蜘蛛池模板: 国产欧美色一区二区三区| 成人免费看黄20分钟| 亚洲日韩V无码中文字幕| 精品久久人人妻人人做精品 | 欧美精品xxxxbbbb| 免费a级毛片在线播放| 绿巨人app入口| 国产乱码精品一区二区三| 91精品欧美产品免费观看| 国产精品久久久久久搜索| 91精品国产91久久久久青草| 天天综合天天综合| 一本色道久久88综合日韩精品| 新人本田岬847正在播放| 久久机热re这里只有精品15| 欧美一级中文字幕| 亚洲国产日韩欧美| 欧美日韩你懂的| 亚洲精品午夜视频| 爱福利极品盛宴| 人妻仑乱A级毛片免费看| 破了亲妺妺的处免费视频国产| 动漫精品一区二区三区3d| 中文字幕版免费电影网站| 日韩视频中文字幕精品偷拍| 亚洲一区二区三区免费视频| 欧美日韩中文字幕在线观看| 亚洲男人的天堂在线播放| 激情人妻另类人妻伦| 人人妻人人澡av天堂香蕉| 男女一边摸一边做爽爽| 依依成人精品视频在线观看| 看黄软件免费看在线观看| 免费边摸边吃奶边叫床视频| 黄色三级在线播放| 国产欧美另类精品久久久| 亚洲综合久久一本伊伊区| 国产福利1000| 欧美视频第二页| 国产欧美日韩另类一区乌克兰 | 日本按摩高潮a级中文片|