HomeFreeBSD

arm64, riscv: Fix TRAF_PC() to return the PC, not the return address.

Description

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)

Details

Provenance
jhbAuthored on Oct 1 2021, 6:53 PM
Reviewer
mhorne
Differential Revision
D31969: arm64, riscv: Fix TRAF_PC() to return the PC, not the return address.
Parents
R10:05504819e39d: riscv: Assert that SUM is not set in SSTATUS for exceptions.
Branches
Unknown
Tags
Unknown