[NTOS:MM]

- Add MmSysPteIndex, MmSysPteTables and MmSysPteListBySizeCount to make WinDbg's !sysptes extension happy

svn path=/trunk/; revision=72490
This commit is contained in:
Thomas Faber 2016-08-28 18:03:41 +00:00
parent 493ad03e52
commit cc9a7f1482

View file

@ -25,6 +25,15 @@ MMPTE MmFirstFreeSystemPte[MaximumPtePoolTypes];
ULONG MmTotalFreeSystemPtes[MaximumPtePoolTypes];
ULONG MmTotalSystemPtes;
ULONG MiNumberOfExtraSystemPdes;
const ULONG MmSysPteIndex[5] = { 1, 2, 4, 8, 16 };
const UCHAR MmSysPteTables[] = { 0, // 1
0, // 1
1, // 2
2, 2, // 4
3, 3, 3, 3, // 8
4, 4, 4, 4, 4, 4, 4, 4 // 16
};
LONG MmSysPteListBySizeCount[5];
/* PRIVATE FUNCTIONS **********************************************************/