diff options
author | jhb <jhb@FreeBSD.org> | 2016-12-23 19:28:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-12-23 19:28:15 +0000 |
commit | c566331351e10a5525edd4e523bda0d160768d14 (patch) | |
tree | 2a624f7f0b7b3ee09f58348a1994f93cac7a2d57 /contrib/llvm/lib/CodeGen/StackMaps.cpp | |
parent | f69f62bc7b78f054e04361614b5abf9a4445758a (diff) | |
download | FreeBSD-src-c566331351e10a5525edd4e523bda0d160768d14.zip FreeBSD-src-c566331351e10a5525edd4e523bda0d160768d14.tar.gz |
MFC 308820,308821: Fixes for fatal page faults on x86.
308820:
Report page faults due to reserved bits in PTEs as a separate fault type.
Rather than reporting a page fault due to a bad PTE as a protection
violation with the "rsv" flag, treat these faults as a separate type of
fault altogether.
308821:
MFamd64: Various fatal page fault fixes.
- If a page fault is triggered due to reserved bits in a PTE, treat it
as a fatal fault and panic.
- If PG_NX is in use, report whether a fatal page fault is due to an
instruction fetch or a data access.
- If a fatal page fault is due to reserved bits in a PTE, report that as
the page fault type rather than a protection violation.
Diffstat (limited to 'contrib/llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions