distributor之SGI Clear/Set Pending Register

(1)SGI Clear-Pending Registers,  顾名思义,就是清除SGI中断的寄存器,每个中断对应操作的寄存器比特位计算方法为:

          for SGI ID x, generated by CPU C writing to its GICD_SGIR, when DIV and MOD are the integer division andmodulo operations: 

          1)the corresponding GICD_CPENDSGIR register number, n, is given by n = x DIV 4

          2)the offset of the required GICD_CPENDSGIR is (0xF10 + (4*n));
          3)the SGI Clear-pending field offset, y, is given by y = x MOD 4
          4)the required bit in the SGI x Clear-pending field is bit C. 

(2)与SGI Clear-Pending Registers相对应,SGI Set-Pending Register是产生SGI的寄存器,每个中断对应操作的寄存器比特位计算方法为:

          For SGI ID x, generated by CPU C writing to its GICD_SGIR, when DIV and MOD are the integer division andmodulo operations: 

          1)he corresponding GICD_SPENDSGIR register number, n, is given by n = x DIV 4

          2)the offset of the required GICD_SPENDSGIR is (0xF20 + (4*n))
          3)the SGI Set-pending field offset, y, is given by y = x MOD 4
          4)the required bit in the SGI x Set-pending field is bit C. 


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值