| 81 | } |
| 82 | |
| 83 | auto Gic::Gicd::IsEnable(uint32_t intid) const -> bool { |
| 84 | auto is = Read(Isenablern(intid / kIsEnablernSize)); |
| 85 | return is & (1 << (intid % kIsEnablernSize)); |
| 86 | } |
| 87 | |
| 88 | auto Gic::Gicd::SetPrio(uint32_t intid, uint32_t prio) const -> void { |
| 89 | auto shift = (intid % kIpriorityrnSize) * kIpriorityrnBits; |