《電子技術應用》
您所在的位置:首頁 > 嵌入式技術 > 設計應用 > 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網站原創,未經授權禁止轉載。
主站蜘蛛池模板: 天堂网最新版www| 狠狠色噜噜狠狠狠狠97不卡 | 亚洲国产精品综合久久网络 | 国产精品色内内在线播放| 中文在线观看国语高清免费| 校园性教k8版在线观看| 国产av无码专区亚洲av毛片搜| 毛片手机在线观看| 女同一区二区在线观看| 亚洲久热无码av中文字幕| 车车好快的车车流水网站入口| 大荫蒂女人毛茸茸图片| 久久丫精品国产亚洲AV| 污网站在线免费看| 国产成人一区二区三区| ssss国产在线观看| 欧美一卡2卡3卡4卡5卡视频免费| 人人狠狠综合久久亚洲| 精品久久久久久蜜臂a∨| 国内外成人免费视频| 久久国产精品免费看| 男女下面进入拍拍免费看| 国产乱码一区二区三区爽爽爽| 91香蕉视频下载导航| 成人毛片18女人毛片免费96 | 国产成人午夜福利在线播放| 两个人日本免费完整版在线观看1| 欧美高清在线精品一区二区不卡 | 无码午夜人妻一区二区三区不卡视频 | 中文字幕22页| 最近中文字幕2018| 亚洲欧美成人一区二区在线电影| 精品久久久久久无码中文字幕漫画 | 国产欧美日韩专区| 久久91精品国产91久久| 最近免费韩国电影hd视频| 免费女人18毛片a级毛片视频| 色婷婷亚洲十月十月色天| 国产黄大片在线观| √天堂中文官网在线| 日本黄色激情片|