此寄存器的主要作用是设置gic中断为pending状态,写1生效,写0无效,读取值标示对应中断是否pending,相对于distributor基地址偏移区间在0x200-0x27c,计算方法为:
For interrupt IDm, when DIV and MOD are the integer division and modulo operations:
-
the corresponding GICD_ISPENDR number, n, is given by n = m DIV 32
the offset of the required GICD_ISPENDR is (0x200 + (4*n))
the bit number of the required Set-pending bit in this register is m MOD 32.
-