freebsd-src/sys/riscv
Mark Johnston 3ec68206f5 Add some more checking to the RISC-V page fault handler.
- Panic immediately if witness says we're holding non-sleepable locks.
  This helps ensure that we don't recurse on the pmap lock in
  pmap_fault_fixup().
- Panic if the kernel faults on a user address without setting an
  onfault handler.
- Panic if the fault occurred in a critical section or interrupt
  handler, like we do on other platforms.
- Fix some style issues in trap_pfault().

Reviewed by:	jhb
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18561
2018-12-14 21:07:12 +00:00
..
conf Add a QEMU config for RISC-V. 2018-12-14 21:00:41 +00:00
include Update the description of the address space layout on RISC-V. 2018-12-07 15:56:40 +00:00
riscv Add some more checking to the RISC-V page fault handler. 2018-12-14 21:07:12 +00:00