freebsd-dev/sys/riscv
Mark Johnston d95fbf4e1a riscv: save the thread pointer in both modes
The contents of frame->tf_tp are uninitialized if accessed by DTrace (in
probe context), resulting in a panic when trying to access the memory
pointed to by tp. This saves the thread pointer to the trap frame when
handling both userland and kernel exceptions.

Reviewed by:	markj, mhorne
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D39582
2023-04-17 09:49:52 -04:00
..
allwinner aw_wdog: support Allwinner D1 watchdog 2022-04-12 19:51:17 -03:00
conf netlink: add NETLINK to the DEFAULTS for each architecture 2023-04-02 15:27:21 +00:00
include amd64: fix PKRU and swapout interaction 2023-04-15 02:53:59 +03:00
riscv riscv: save the thread pointer in both modes 2023-04-17 09:49:52 -04:00
sifive riscv sifive: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-10 10:21:38 -07:00