[NTOS:MM]

- Generate PAGE_FAULT_IN_NONPAGED_AREA bugcheck for PTEs that have their protection set to zero. This gives a more useful error description than the infamous 'TempPte.u.Long != 0' assertion*.
CORE-8679 #resolve

* and is also What Windows Does(TM)

svn path=/trunk/; revision=64885
This commit is contained in:
Thomas Faber 2014-10-22 12:29:31 +00:00
parent a48fe43631
commit f67ab25a16

View file

@ -1833,6 +1833,17 @@ _WARN("Session space stuff is not implemented yet!")
(ULONG_PTR)TrapInformation,
1);
}
/* Check for no protecton at all */
if (TempPte.u.Soft.Protection == MM_ZERO_ACCESS)
{
/* Bugcheck the system! */
KeBugCheckEx(PAGE_FAULT_IN_NONPAGED_AREA,
(ULONG_PTR)Address,
StoreInstruction,
(ULONG_PTR)TrapInformation,
0);
}
}
/* Check for demand page */