set active寄存器。顾名思义就是把一个中断置为active状态,clear active寄存器就是清除active状态,在这里我们有必要说明一下中断状态的一些概念:

active状态:假设此时处理器正在处理这个中断的处理函数。那么我们能够说此时这个中断处于active状态。

pending状态:假设此时一个中断已经产生,可是处理器还未处理,那么我们能够说此时这个中断处于pending状态;

inactive状态:假设一个中断既不是active状态也不是pending状态,那么就称之为处于inactive状态;

active and pending状态:假设处理器正在运行一个中断的处理函数。此时这个中断的中断源又产生了一个中断,那么我们称之为此中断处于active and pending状态;

对于set active寄存器,写1有效,写0无效;读出来的值表示active状态。假设是1,表示此时此中断处于active状态。此寄存器相对于distributor的偏移区间为0x300-0x37C 。计算方法为:

For interrupt IDm, when DIV and
MOD are the integer division and modulo operations:

the corresponding GICD_ISACTIVERn number,n,
is given byn
=
m
DIV 32

the offset of the required GICD_ISACTIVERn is (0x300+
(4*n))

the bit number of the required Set-active bit in this register is mMOD 32.

对于clear active寄存器,写1有效。写0无效。读出来的值表示active状态,假设是1。表示此时此中断处于active状态。此寄存器相对于distributor的偏移区间为0x380-0x3FC ,计算方法为:

For interrupt IDm, when DIV and
MOD are the integer division and modulo operations:

the corresponding GICD_ICACTIVERn number,n,
is given byn
=
m
DIV 32

the offset of the required GICD_ICACTIVERn is (0x380+
(4*n))

the bit number of the required Clear-active bit in this register is mMOD 32.

最新文章

  1. ASCII码表(二进制 十进制 十六进制)
  2. linux基本命令(4)-8.Ubuntu-jdk+tomcat+eclipse软件包安装
  3. idea使用generator自动生成model、mapper、mapper.xml(转)
  4. IOS多线程之NSOperation学习总结
  5. tyvj1015 - 公路乘车 ——完全背包
  6. ADO.NET中的Connection详解
  7. 如何学好oracle?(准备)
  8. (转载) jQuery 页面加载初始化的方法有3种
  9. swift笔记05
  10. firebug离线安装方法-拖入法
  11. 使用Gulp构建前端自动化方案
  12. arm-点亮led灯
  13. 【CJOJ P1333】【HNOI2012】矿场搭建
  14. PHP HTTP 函数
  15. TS学习随笔(六)->断言
  16. Python大数据系列-01-关系数据库基本运算
  17. ARM指令学习
  18. 10 Tensorflow模型保存与读取
  19. 二、网络编程-socket之TCP协议开发客户端和服务端通信
  20. NYOJ_1274_信道安全 -

热门文章

  1. IE6下不能定义1px高度的容器和IE6 双边距
  2. Generator & Co
  3. iOS中的retainCount
  4. 美国TJX公司 - MBA智库百科
  5. error C3861: “gets”: 找不到标识符
  6. 单页web应用开发流程
  7. 编写可维护的JS 06
  8. SQL练习之不反复执行相同的计算
  9. 弹出窗口a标签写下载,再弹出窗口
  10. 读书笔记 - 设计模式(Head First)