]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64, riscv: Fix TRAF_PC() to return the PC, not the return address.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Oct 2021 18:53:12 +0000 (11:53 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Oct 2021 18:53:12 +0000 (11:53 -0700)
commit0177102173f39e17366a32eb22653aeb5248c355
tree7ad2b83e92832f9c07f83b209bda009a82a583a3
parentc76da1f01064b2b9a1903b30d4b4c444b85f8724
arm64, riscv: Fix TRAF_PC() to return the PC, not the return address.

Reviewed by: mhorne
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D31969
sys/arm64/include/cpu.h
sys/riscv/include/cpu.h