《電子技術(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)載。
主站蜘蛛池模板: 久久天天躁狠狠躁夜夜不卡 | 久久精品一本到99热免费| 狠狠色狠狠色综合日日不卡| 国产女精品视频在ktv| CHINESE熟女老女人HD视频| 无码人妻丰满熟妇区五十路百度| 亚洲人成网站日本片| 男人j进女人p免费视频 | 办公室娇喘的短裙老师在线视频| 黄色大片免费网站| 国产超碰人人模人人爽人人喊 | 国产成人久久精品一区二区三区| 91麻豆果冻天美精东蜜桃传媒| 成人免费视频88| 久久精品亚洲欧美日韩久久| 欧美日韩国产色| 任你躁在线播放视频| 老司机aⅴ在线精品导航| 国产成人精品综合在线| 91福利在线视频| 女人是男人的未来你的皮肤很柔顺| 久久99精品一区二区三区| 末成年女a∨片一区二区| 亚洲熟女综合色一区二区三区| 精品久久一区二区| 国产一区二区三区久久精品| 狠狠色噜噜狠狠狠狠69| 国产精品视频全国免费观看| jealousvue熟睡入侵中| 成年人午夜影院| 久久精品aⅴ无码中文字字幕| 欧美人善交videosg| 亚洲精品亚洲人成在线| 福利视频一区二区牛牛| 国产69久久精品成人看| 香港三日本8A三级少妇三级99| 国产精品免费视频网站| 97大香伊在人人线色| 女女女女BBBBBB毛片在线| 中文字幕人妻三级中文无码视频| 日韩a级一片在线观看|