《電子技術(shù)應(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不卡| 久久人人爽国产| 免费中文日韩| 日韩视频在线一区| 亚洲免费精品视频| 99视频国产精品免费观看| 国产成人成网站在线播放青青| 国产精品自产拍在线观看中文| 九九精品视频在线| 国产尤物91| 国产精品日韩三级| 国产自产在线视频一区| 久久露脸国产精品| 久久riav二区三区| 国产精品一 二 三| www日韩欧美| 亚洲欧洲精品一区| 色综合色综合网色综合| 日韩啊v在线| 久热国产精品视频| 国产精品久久久久久久久电影网| 国产精品高清在线观看| 91高清免费视频| 日产精品高清视频免费| 久久人人爽人人爽人人片亚洲| 精品少妇人妻av一区二区 | 色综合久久天天综线观看| 国产精品久久久久久婷婷天堂| 国产精品美女诱惑| 国产精品91久久久| 99久久久精品免费观看国产| 粉嫩av免费一区二区三区| 内射国产内射夫妻免费频道|