[NTOS:MM] Comment out debug code for x86 that should not run on x64

This commit is contained in:
Ivan Labutin 2017-11-10 01:30:57 +03:00 committed by Timo Kreuzer
parent 1aa70ef6d1
commit 39dd47cebb

View file

@ -2118,6 +2118,7 @@ MmArmInitSystem(IN ULONG Phase,
TestPte = MiProtoPteToPte(&TempPte);
ASSERT(PointerPte == TestPte);
#ifndef _M_AMD64 // Not working on x64 for obvoius reason
/* Try a bunch of random addresses near the end of the address space */
PointerPte = (PMMPTE)0xFFFC8000;
for (j = 0; j < 20; j += 1)
@ -2133,6 +2134,7 @@ MmArmInitSystem(IN ULONG Phase,
MI_MAKE_SUBSECTION_PTE(&TempPte, PointerPte);
TestPte = MiSubsectionPteToSubsection(&TempPte);
ASSERT(PointerPte == TestPte);
#endif
#endif
/* Loop all 8 standby lists */