Set si_addr to badvaddr for TLB faults.

Reviewed by:	kib
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25775
This commit is contained in:
John Baldwin 2020-07-23 20:08:42 +00:00
parent af9de844c4
commit 6273c7420d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363458

View File

@ -740,7 +740,7 @@ trap(struct trapframe *trapframe)
}
goto err;
}
addr = trapframe->pc;
addr = trapframe->badvaddr;
msg = "BAD_PAGE_FAULT";
log_bad_page_fault(msg, trapframe, type);