mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 01:11:03 +08:00
[NTOS:MM] Use MiResolveDemandZeroFault instead of MiDispatchFault
This commit is contained in:
@@ -2121,18 +2121,12 @@ UserFault:
|
||||
return Status;
|
||||
}
|
||||
|
||||
/* Write a demand-zero PDE */
|
||||
MI_WRITE_INVALID_PDE(PointerPde, DemandZeroPde);
|
||||
|
||||
/* Dispatch the fault */
|
||||
Status = MiDispatchFault(TRUE,
|
||||
PointerPte,
|
||||
/* Resolve a demand zero fault */
|
||||
MiResolveDemandZeroFault(PointerPte,
|
||||
PointerPde,
|
||||
NULL,
|
||||
FALSE,
|
||||
PsGetCurrentProcess(),
|
||||
TrapInformation,
|
||||
NULL);
|
||||
MM_READWRITE,
|
||||
CurrentProcess,
|
||||
MM_NOIRQL);
|
||||
#if MI_TRACE_PFNS
|
||||
UserPdeFault = FALSE;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user