I did a rework of mcause and scause registers to follow the latest RISC-V specification. Namely, I removed the user-level interrupt sources and fixed a missing exception type in scause.
I also used the From and TryFrom traits, so now the Interrupt and Exception enumerations are more usable. I plan to re-export these enums in riscv-rt to avoid code duplicates and simplify a bit the logic of the runtime.
I did a rework of
mcause
andscause
registers to follow the latest RISC-V specification. Namely, I removed the user-level interrupt sources and fixed a missing exception type inscause
.I also used the
From
andTryFrom
traits, so now theInterrupt
andException
enumerations are more usable. I plan to re-export these enums inriscv-rt
to avoid code duplicates and simplify a bit the logic of the runtime.