mirror of
https://github.com/reactos/reactos.git
synced 2025-01-14 07:33:56 +08:00
[NTOS:MM] Use MiResolveDemandZeroFault instead of MiDispatchFault
This commit is contained in:
parent
d4765fe366
commit
d17812f933
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user