freebsd-dev/sys/riscv
Mitchell Horne cb8e067818 riscv: improve exception code naming
The existing names were inherited from arm64, but we should prefer
RISC-V terminology. Change the prefix to SCAUSE, and further change the
names to better match the RISC-V spec and be more consistent with one
another. Also, remove two codes that are not defined for S-mode (machine
and hypervisor ecall).

While here, apply style(9) to some condition checks.

Reviewed by:	kp
Discussed with: jrtc27
Differential Revision:	https://reviews.freebsd.org/D26918
2020-10-24 20:57:13 +00:00
..
conf RISC-V LINT kernel config 2020-10-09 14:45:41 +00:00
include riscv: improve exception code naming 2020-10-24 20:57:13 +00:00
riscv riscv: improve exception code naming 2020-10-24 20:57:13 +00:00
sifive riscv/sifive: add FE310 Always-on driver 2020-04-02 00:33:15 +00:00