RISC-V Traps 2: Delegation, S-mode Trap CSRs, Interrupt and Exception Priority, WFI on QEMU
Part 26 of the RISC-V series. We checked delegation, S-mode trap CSRs, 24 interrupt gating cells, priority and WFI on QEMU. Gating matched the spec everywhere. Only the default interrupt order differed (lowest number first, spec order with smaia and ssaia).