《電子技術(shù)應(yīng)用》
您所在的位置:首頁 > 嵌入式技術(shù) > 設(shè)計應(yīng)用 > ARM GIC中斷控制器原文詳解
ARM GIC中斷控制器原文詳解
摘要: ARMGIC中斷控制器介紹。
關(guān)鍵詞: 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.

 

 

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。
主站蜘蛛池模板: 男女上下猛烈动态图午夜 | 亚洲精品456在在线播放 | 天堂久久久久va久久久久 | 天天摸夜夜摸成人免费视频 | 丁香五月缴情在线 | 亚洲三级国产 | 交性大片欧美多人 | 日韩中文字幕网站 | 亚洲成人免费在线观看 | 三级伦理片高清在线观看播放 | 在线a亚洲视频播放在线观看 | 碰超在线观看 | 久草黑丝 | 天天色天天操天天 | www.黄色大片| 日韩精品免费看 | 精品国内视频 | 亚洲码和乱人伦中文一区 | 亚洲免费视频播放 | 久久久久18| 久久亚洲欧美成人精品 | 国产亚洲精品高清在线 | 免费看h成年漫画在线观看 免费看a级 | 在线播放影院 | 久久影音先锋 | 久久受www免费人成_看片中文 | 老司机av磁力 | 人人爽视频 | 亚洲国产欧美久久香综合 | 亚洲日韩中文字幕在线播放 | 欧美老人另类视频 | 毛片三级在线观看 | 日b毛片| 日本xxxxx高清 | 国产精品尹人在线观看免费 | 免费看涩涩视频网站入口 | 男女猛烈无遮挡性视频 | 国产伦久视频免费观看 视频 | 免费a级人成a大片在线观看 | 丝袜制服第一页 | 涩涩成人网 |