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
..
2020-06-24 15:20:00 +00:00
2020-09-21 22:21:59 +00:00
2020-09-30 02:21:38 +00:00
2020-01-30 19:15:27 +00:00
2020-08-05 22:09:40 +00:00
2020-01-24 16:50:51 +00:00
2020-05-01 21:55:51 +00:00