https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a5d47ff72b16fb2b8f07e…
commit a5d47ff72b16fb2b8f07e702580a04b2154a938b
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Mon Jan 29 12:39:21 2018 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sun Nov 1 09:32:27 2020 +0100
[NTOS:MM:X64] On x64 reserve the address range between FFFF800000000000 and
FFFFF68000000000 in MiInitSystemMemoryAreas()
---
ntoskrnl/mm/mminit.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ntoskrnl/mm/mminit.c b/ntoskrnl/mm/mminit.c
index 4005b34e0f9..3bb75db87ea 100644
--- a/ntoskrnl/mm/mminit.c
+++ b/ntoskrnl/mm/mminit.c
@@ -70,6 +70,11 @@ MiInitSystemMemoryAreas(VOID)
// Create all the static memory areas.
//
+#ifdef _M_AMD64
+ // Reserved range FFFF800000000000 - FFFFF68000000000
+ MiCreateArm3StaticMemoryArea((PVOID)MI_REAL_SYSTEM_RANGE_START, PTE_BASE -
MI_REAL_SYSTEM_RANGE_START, FALSE);
+#endif /* _M_AMD64 */
+
// The loader mappings. The only Executable area.
MiCreateArm3StaticMemoryArea((PVOID)KSEG0_BASE, MmBootImageSize, TRUE);