《電子技術應用》
您所在的位置:首頁 > 嵌入式技術 > 設計應用 > 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網站原創,未經授權禁止轉載。
主站蜘蛛池模板: 精品国产电影久久九九| 草草影院第一页| 性欧美大战久久久久久久| 久久婷婷五月综合色奶水99啪| 欧美成人免费观看| 亚洲精品韩国美女在线| 米奇777四色精品人人爽| 喷血推荐长腿连衣裙美女刚进房间| 香蕉久久av一区二区三区| 国产欧美日韩精品第一区| 4ayy私人影院| 国内成人精品亚洲日本语音| eeuss中文字幕| 好吊妞最新视频免费观看| 一级试看120秒视频| 成年女人色费视频免费| 久久久久亚洲精品男人的天堂| 最近最新好看的中文字幕2019| 亚洲成年网站在线观看| 毛片毛片毛片毛片毛片毛片| 亚洲黄色在线电影| 狠狠狠狼鲁欧美综合网免费| 免费无码成人AV在线播放不卡 | 成人精品免费视频大全app| 久久久久久久性潮| 日本欧美大码aⅴ在线播放| 久久精品a亚洲国产v高清不卡| 最猛91大神ben与女教师| 亚洲AV永久无码精品网站在线观看 | 欧美成人国产精品高潮| 亚洲欧美丝袜制服在线| 正在播放国产伦理片| 亚洲精品第1页| 波多野结衣之双调教hd| 亚洲综合久久综合激情久久| 激情久久av一区av二区av三区| 人人妻人人爽人人澡人人| 爱情岛永久入口网址首页| 亚洲美女aⅴ久久久91| 波多野结衣办公室33分钟| 亚洲第一页视频|