mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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
1 changed files with 1 additions and 1 deletions
|
@ -1206,7 +1206,7 @@ KiTrap0EHandler(IN PKTRAP_FRAME TrapFrame)
|
||||||
(PVOID)Cr2,
|
(PVOID)Cr2,
|
||||||
TrapFrame->SegCs & MODE_MASK,
|
TrapFrame->SegCs & MODE_MASK,
|
||||||
TrapFrame);
|
TrapFrame);
|
||||||
if (Status == STATUS_SUCCESS) KiEoiHelper(TrapFrame);
|
if (NT_SUCCESS(Status)) KiEoiHelper(TrapFrame);
|
||||||
|
|
||||||
/* Check for S-LIST fault */
|
/* Check for S-LIST fault */
|
||||||
if (TrapFrame->Eip == (ULONG_PTR)ExpInterlockedPopEntrySListFault)
|
if (TrapFrame->Eip == (ULONG_PTR)ExpInterlockedPopEntrySListFault)
|
||||||
|
|
Loading…
Reference in a new issue