Author: jhb Date: Thu Jul 23 20:08:42 2020 New Revision: 363458 URL: https://svnweb.freebsd.org/changeset/base/363458
Log: Set si_addr to badvaddr for TLB faults. Reviewed by: kib Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D25775 Modified: head/sys/mips/mips/trap.c Modified: head/sys/mips/mips/trap.c ============================================================================== --- head/sys/mips/mips/trap.c Thu Jul 23 20:06:24 2020 (r363457) +++ head/sys/mips/mips/trap.c Thu Jul 23 20:08:42 2020 (r363458) @@ -740,7 +740,7 @@ dofault: } goto err; } - addr = trapframe->pc; + addr = trapframe->badvaddr; msg = "BAD_PAGE_FAULT"; log_bad_page_fault(msg, trapframe, type); _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
