aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/(public-mirror)
diff options
context:
space:
mode:
authorKonrad Witaszczyk <def@FreeBSD.org>2025-09-16 11:21:57 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-09-16 11:23:58 +0000
commit99213b3c352cdf568ea7cf5b4dddb1879f16a601 (patch)
treef05ffa6108cc0a179ab53ee2e5911327bcce5ec7 /sys/ufs/ffs/(public-mirror)
parent7314f78b240bdbf2bcec07e3d5a475e37941bb6b (diff)
aarch64: Save correct value of x18 on trapframe for nested faultsHEADmain
x18 is overwritten with a temporary copy of the kernel stack pointer when it is saved in the trapframe. This does not matter in terms of function since nested exception return does not restore x18 from the trapframe, but it does mean that examining x18 in a debugger in stack frames above a nested fault outputs the wrong register value. To fix, compute the value of the original stack pointer to save in x18 later after the trapframe has been constructed. Reviewed by: jhb, andrew Sponsored by: AFRL, DARPA Differential Revision: https://reviews.freebsd.org/D52472
Diffstat (limited to 'sys/ufs/ffs/(public-mirror)')
0 files changed, 0 insertions, 0 deletions