《電子技術應用》
您所在的位置:首頁 > 嵌入式技術 > 設計應用 > 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網站原創,未經授權禁止轉載。
主站蜘蛛池模板: 免费乱码中文字幕网站| 日日碰狠狠添天天爽超碰97| 国产亚洲精品bt天堂精选| xvideos亚洲永久网址| 日本老头变态xxxx| 亚洲va在线va天堂va不卡下载| 精品久久综合一区二区| 国产乱妇乱子在线视频| 99re最新这里只有精品| 国产视频你懂得| Av鲁丝一区鲁丝二区鲁丝三区| 性一交一乱一伦一色一情| 亚洲乱码一二三四区麻豆| 欧美黑人巨大videos精品| 人禽伦免费交视频播放| 韩国一级淫片漂亮老师| 国产无遮挡又黄又爽又色 | 欧美交换性一区二区三区| 又粗又长又黄又爽视频| 蜜柚在线观看免费高清| 国产精品视频久久久久| av无码免费一区二区三区| 日本激情一区二区三区| 人妻熟妇乱又伦精品视频| 精品人妻中文字幕有码在线| 后入内射欧美99二区视频 | 日韩在线不卡免费视频一区| 亚洲av永久无码嘿嘿嘿| 欧美亚洲国产精品久久| 亚洲娇小性色xxxx| 欧美日韩视频免费播放| 农村胖肥熟口味重| 美国式禁忌4桥矿超棒| 嘟嘟嘟www免费高清在线中文 | 狍和女人一级毛片免费的| 国产乱人伦偷精品视频免下载| 麻豆女神吴梦梦| 国产成人a大片大片在线播放| 69精品久久久久| 国产青青在线视频| 7777久久亚洲中文字幕蜜桃|