mirror of
https://github.com/reactos/reactos.git
synced 2024-08-16 00:19:32 +00:00
[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:
parent
a48fe43631
commit
f67ab25a16
|
@ -1833,6 +1833,17 @@ _WARN("Session space stuff is not implemented yet!")
|
||||||
(ULONG_PTR)TrapInformation,
|
(ULONG_PTR)TrapInformation,
|
||||||
1);
|
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 */
|
/* Check for demand page */
|
||||||
|
|
Loading…
Reference in a new issue