Reorganize kernel & user fault handling into seperate functions like on
authorderaadt <deraadt@openbsd.org>
Sat, 15 May 2021 20:12:24 +0000 (20:12 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 15 May 2021 20:12:24 +0000 (20:12 +0000)
commitead0ae619b71fe35ef7d8789ec87af916f2ba5bd
tree8e56298b4f920b3b1617235f1b2b1890a83c3ba3
parentb0a3c838ecfb77a4414bd3631a6df27370a20996
Reorganize kernel & user fault handling into seperate functions like on
other architectures.  During refactoring, found missing calls to important
functions and incorrect parameter passing...
ok kettenis drahn
sys/arch/riscv64/riscv64/trap.c