https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6c027d28f95fdbdc09ada…
commit 6c027d28f95fdbdc09ada6c0c7f5dc63b4cbe00b
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Thu Apr 8 14:36:50 2021 +0200
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Thu Apr 8 15:40:37 2021 +0200
[NTOS:MM] Properly track system process hyper space PDE page
---
ntoskrnl/mm/ARM3/i386/init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ntoskrnl/mm/ARM3/i386/init.c b/ntoskrnl/mm/ARM3/i386/init.c
index fce53bee2ee..4ad52cf2b80 100644
--- a/ntoskrnl/mm/ARM3/i386/init.c
+++ b/ntoskrnl/mm/ARM3/i386/init.c
@@ -498,6 +498,7 @@ MiInitMachineDependent(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
TempPde = ValidKernelPdeLocal;
TempPde.u.Hard.PageFrameNumber = PageFrameIndex;
MI_WRITE_VALID_PTE(StartPde, TempPde);
+ PsGetCurrentProcess()->Pcb.DirectoryTableBase[1] = PageFrameIndex <<
PAGE_SHIFT;
/* Flush the TLB */
KeFlushCurrentTb();