《電子技術(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)載。
主站蜘蛛池模板: 无码人妻一区二区三区av| 狠狠色综合7777久夜色撩人| 国产精品毛片大码女人| 一级毛片成人免费看免费不卡| 最近最好看2019年中文字幕| 亚洲色四在线视频观看| 美妇又紧又嫩又多水好爽| 国产欧美另类精品久久久| 99国产精品热久久久久久夜夜嗨 | 最色网在线观看| 伊人久久大香线蕉综合影院首页 | eeuss影院eeuss天堂| 日本zzzzwww大片免费| 亚洲一级黄色片| 狠狠色噜噜狠狠狠狠av| 喝丰满女医生奶水电影| 黄床大片30分钟免费看| 国产精品原创巨作av| a级片免费电影| 成人免费在线播放| 久久午夜国产片| 欧美jizzjizz在线播放| 亚洲男女一区二区三区| 粗大的内捧猛烈进出小视频| 国产一级做a爰片在线| 黑人粗大猛烈进出高潮视频 | 久久精品国产网红主播| 欧美成人家庭影院| 亚洲视频免费观看| 精品无码国产AV一区二区三区| 国产亚洲欧美久久久久| 精品国产一二三区在线影院| 国产精品深夜福利免费观看| a级成人毛片久久| 巨龙肉色透明水晶丝袜校花| 久久99中文字幕久久| 日韩一区二区三区无码影院| 亚洲一区二区三区在线观看网站 | 国产无套乱子伦精彩是白视频| 777成影片免费观看| 大象视频在线免费观看|