riscv: Assert that SUM is not set in SSTATUS for exceptions.
authorjsg <jsg@openbsd.org>
Wed, 5 May 2021 01:28:38 +0000 (01:28 +0000)
committerjsg <jsg@openbsd.org>
Wed, 5 May 2021 01:28:38 +0000 (01:28 +0000)
commitd02a7d534e008bfe0347db4a5d921a65cade0160
tree0e9d57d5af86d5b873c821b5573c5589bd9475de
parent4f1e26187e39b39f020e52e9d5a75e95ac937cc8
riscv: Assert that SUM is not set in SSTATUS for exceptions.

From John Baldwin
6a3a6fe34bf36b6e745b3e9ad1a991de057729c7 in FreeBSD

ok kettenis@ mlarkin@
sys/arch/riscv64/riscv64/trap.c