mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 19:59:49 +00:00
[NTOS]: Restore previous correct ASM behavior of checking for success codes, not only STATUS_SUCCESS, after a page fault. For example, a demand zero fault returns STATUS_PAGE_FAULT_DEMAND_ZERO upon success, and the new C code would treat it as a failure. Fixes a bug.
svn path=/trunk/; revision=47159
This commit is contained in:
parent
449b78ccc5
commit
b5a09b26c2
|
@ -1206,7 +1206,7 @@ KiTrap0EHandler(IN PKTRAP_FRAME TrapFrame)
|
|||
(PVOID)Cr2,
|
||||
TrapFrame->SegCs & MODE_MASK,
|
||||
TrapFrame);
|
||||
if (Status == STATUS_SUCCESS) KiEoiHelper(TrapFrame);
|
||||
if (NT_SUCCESS(Status)) KiEoiHelper(TrapFrame);
|
||||
|
||||
/* Check for S-LIST fault */
|
||||
if (TrapFrame->Eip == (ULONG_PTR)ExpInterlockedPopEntrySListFault)
|
||||
|
|
Loading…
Reference in a new issue