mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 12:33:31 +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;
|
||||
}
|
||||
|
||||
/* 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
|
||||
|
Loading…
Reference in New Issue
Block a user