Load the fault handler into the correct register.
authordrahn <drahn@openbsd.org>
Sat, 15 May 2021 00:04:32 +0000 (00:04 +0000)
committerdrahn <drahn@openbsd.org>
Sat, 15 May 2021 00:04:32 +0000 (00:04 +0000)
commitaeddc3fc1c2dc619781d7d37222447f40fb248a7
tree00ca58726acc959c2aad1cb38e0ba1f56e3cab94
parentdcd4cc8ab1b6b779f160196bf711d72e66446672
Load the fault handler into the correct register.
Having the onfault dance in a macro makes this almost unreadable.
Initial failure found by deraadt, cause finally found.
sys/arch/riscv64/riscv64/copy.S