《電子技術(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)載。
主站蜘蛛池模板: 日本特黄特色特爽大片老鸭| 亚洲另类欧美日韩| 521色香蕉网站在线观看| 日韩在线一区高清在线| 午夜伦理宅宅235| 337p色噜噜人体大胆欧美| 日本免费高清一本视频| 做zm被逮判几年| 久久国产真实乱对白| 忍者刺客在线观看完整中文免费版| 亚洲成人自拍网| 色资源二区在线视频| 在线中文字幕观看| 久久精品中文騷妇女内射| 精品中文字幕一区在线| 国产精品三级视频| 中国女人一级毛片| 欧美午夜一区二区福利视频| 四虎影视久久久免费| 5╳社区视频在线5sq| 把极品白丝班长啪到腿软| 亚洲欧美日韩中文在线| 蜜汁肉桃h全篇| 在线看无码的免费网站| 久久亚洲精品无码| 波多野结衣伦理视频| 国产亚洲日韩AV在线播放不卡| 99视频精品全部在线观看| 日韩人妻不卡一区二区三区| 免费va在线观看| 高h视频免费观看| 壮汉紫黑粗大好深用力| 久久国产精品久久国产精品| 猫咪AV成人永久网站在线观看| 国产对白在线观看| chinese国产xxxx实拍| 日韩在线第三页| 亚洲视频在线网| 草莓视频在线免费 | 三级日本高清完整版热播| 欧美巨大bbbb动漫|