《電子技術(shù)應(yīng)用》
您所在的位置:首頁(yè) > 嵌入式技術(shù) > 設(shè)計(jì)應(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)載。
主站蜘蛛池模板: 国产亚洲精品观看91在线 | 美女视频很黄很暴黄是免费的 | 动漫美女羞羞网站 | 成年女人毛片免费观看不卡 | 一级毛片a女人刺激视频免费 | 国产精品正在播放 | 国产精品免费大片一区二区 | 成人18免费网站 | 麻豆成人在线视频 | 免费乱理伦片手机在线观看 | 99视频精品全部国产盗摄视频 | 一级有奶水毛片免费看 | 最近免费字幕高清在线观看 | 天天插天天搞 | 欧洲美女乱之伦 | 婷婷人人爽人人爽人人片 | 亚洲欧美日韩中文不卡 | 中文在线观看永久免费 | 好吊色几万部永久免费视频 | 日本精品一区 | 国产欧美日韩一区二区三区在线 | 久久精品视频8 | 成人动漫在线免费观看 | a成人毛片免费观看 | 日批视频免费在线观看 | 亚洲欧美日韩在线观看二区 | 波多野结衣手机在线视频 | 欧美精| 久久尹人香蕉国产免费天天 | 夜色影视 | 亚洲午夜国产精品 | 午夜影湿院| 国产伦精品一区二区 | 伊人网综合视频 | 狠狠色欧美亚洲狠狠色五 | 美女视频很黄很a免费国产 美女涩涩网站 | 男女日批视频在线观看 | 国产成人精品高清不卡在线 | 韩国欧洲一级毛片免费 | 免费九九视频 | 亚欧成人一区二区 |