Make sure the low two bits of stvec are always zero (since we don't use
authormiod <miod@openbsd.org>
Mon, 20 Nov 2023 16:10:37 +0000 (16:10 +0000)
committermiod <miod@openbsd.org>
Mon, 20 Nov 2023 16:10:37 +0000 (16:10 +0000)
commitf03cce2a7dce1ef3e80716902f3eadde9117ad73
tree17ff3fdd5d48d4bed3b14c896aeea540339d7ce9
parent40466abf385b4bb54c79211e071e18676d660bf3
Make sure the low two bits of stvec are always zero (since we don't use
vectored exceptions) by adding an alignment constraint to cpu_exception_handler.
sys/arch/riscv64/riscv64/exception.S