mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTOS:MM] Properly track system process hyper space PDE page
This commit is contained in:
parent
370982aa1d
commit
6c027d28f9
1 changed files with 1 additions and 0 deletions
|
@ -498,6 +498,7 @@ MiInitMachineDependent(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
TempPde = ValidKernelPdeLocal;
|
TempPde = ValidKernelPdeLocal;
|
||||||
TempPde.u.Hard.PageFrameNumber = PageFrameIndex;
|
TempPde.u.Hard.PageFrameNumber = PageFrameIndex;
|
||||||
MI_WRITE_VALID_PTE(StartPde, TempPde);
|
MI_WRITE_VALID_PTE(StartPde, TempPde);
|
||||||
|
PsGetCurrentProcess()->Pcb.DirectoryTableBase[1] = PageFrameIndex << PAGE_SHIFT;
|
||||||
|
|
||||||
/* Flush the TLB */
|
/* Flush the TLB */
|
||||||
KeFlushCurrentTb();
|
KeFlushCurrentTb();
|
||||||
|
|
Loading…
Reference in a new issue