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:
parent
af9de844c4
commit
6273c7420d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363458
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user