[NTOS:MM] Use MiResolveDemandZeroFault instead of MiDispatchFault

This commit is contained in:
Timo Kreuzer 2017-12-27 15:20:52 +01:00
parent d4765fe366
commit d17812f933

View File

@ -2121,18 +2121,12 @@ UserFault:
return Status; return Status;
} }
/* Write a demand-zero PDE */ /* Resolve a demand zero fault */
MI_WRITE_INVALID_PDE(PointerPde, DemandZeroPde); MiResolveDemandZeroFault(PointerPte,
/* Dispatch the fault */
Status = MiDispatchFault(TRUE,
PointerPte,
PointerPde, PointerPde,
NULL, MM_READWRITE,
FALSE, CurrentProcess,
PsGetCurrentProcess(), MM_NOIRQL);
TrapInformation,
NULL);
#if MI_TRACE_PFNS #if MI_TRACE_PFNS
UserPdeFault = FALSE; UserPdeFault = FALSE;
#endif #endif