block/PLIC: description: Platform Level Interrupt Control. items: - name: priority description: Interrupt Priority Register. array: len: 53 stride: 4 byte_offset: 0 fieldset: priority - name: pending description: Interrupt Pending Register. array: len: 2 stride: 4 byte_offset: 4096 - name: enable description: Interrupt Enable Register. array: len: 2 stride: 4 byte_offset: 8192 - name: threshold description: Priority Threshold Register. byte_offset: 2097152 fieldset: threshold - name: claim description: Claim/Complete Register. byte_offset: 2097156 fieldset/priority: description: Interrupt Priority Register. fields: - name: priority bit_offset: 0 bit_size: 3 enum: priority_priority fieldset/threshold: description: Priority Threshold Register. fields: - name: priority bit_offset: 0 bit_size: 3 enum: threshold_priority enum/priority_priority: bit_size: 3 variants: - name: P0 description: Priority 0 (never interrupt). value: 0 - name: P1 description: Priority 1. value: 1 - name: P2 description: Priority 2. value: 2 - name: P3 description: Priority 3. value: 3 - name: P4 description: Priority 4. value: 4 - name: P5 description: Priority 5. value: 5 - name: P6 description: Priority 6. value: 6 - name: P7 description: Priority 7. value: 7 enum/threshold_priority: bit_size: 3 variants: - name: P0 description: Allow interrupts with priority > 0. value: 0 - name: P1 description: Allow interrupts with priority > 1. value: 1 - name: P2 description: Allow interrupts with priority > 2. value: 2 - name: P3 description: Allow interrupts with priority > 3. value: 3 - name: P4 description: Allow interrupts with priority > 4. value: 4 - name: P5 description: Allow interrupts with priority > 5. value: 5 - name: P6 description: Allow interrupts with priority > 6. value: 6 - name: P7 description: Mask all interrupts. value: 7