]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
riscv: handle debug.debugger_on_trap for fatal page faults
authormhorne <mhorne@FreeBSD.org>
Thu, 10 Dec 2020 22:20:20 +0000 (22:20 +0000)
committermhorne <mhorne@FreeBSD.org>
Thu, 10 Dec 2020 22:20:20 +0000 (22:20 +0000)
commit2368600a06305d3336b2715995c6ed0d7db2323d
tree3cf366292c04710c3b693f4bbd29cfd7dd3ac9a7
parenta56f1138dac47c2f5247dc4a98154f20bc485518
riscv: handle debug.debugger_on_trap for fatal page faults

Allows recovery or diagnosis of a fatal page fault before panicking the
system.

Reviewed by: jhb, kp
Differential Revision: https://reviews.freebsd.org/D27534
sys/riscv/riscv/trap.c