[NTOS:MM]

- Set aside some additional system PTEs if special pool is enabled
CORE-8680

svn path=/trunk/; revision=66235
This commit is contained in:
Thomas Faber 2015-02-12 09:14:52 +00:00
parent d0376b2093
commit f1d9eded2c

View file

@ -2181,6 +2181,13 @@ MmArmInitSystem(IN ULONG Phase,
// //
MmNumberOfSystemPtes <<= 1; MmNumberOfSystemPtes <<= 1;
} }
if (MmSpecialPoolTag != 0 && MmSpecialPoolTag != -1)
{
//
// Add some extra PTEs for special pool
//
MmNumberOfSystemPtes += 0x6000;
}
} }
DPRINT("System PTE count has been tuned to %lu (%lu bytes)\n", DPRINT("System PTE count has been tuned to %lu (%lu bytes)\n",