]> 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>
Tue, 23 Nov 2021 23:48:07 +0000 (15:48 -0800)
commitc8c2d908dd477d6413eaf1f788df88c73ae73c5b
tree618d710c1c6db7b4d9e05e5f666cc5bbf6953364
parent05504819e39d12cbb0772f69e06ceb49a10fd580
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

(cherry picked from commit 0177102173f39e17366a32eb22653aeb5248c355)
sys/arm64/include/cpu.h
sys/riscv/include/cpu.h