[NTOS:MM]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 28 Aug 2016 18:03:41 +0000 (18:03 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 28 Aug 2016 18:03:41 +0000 (18:03 +0000)
- Add MmSysPteIndex, MmSysPteTables and MmSysPteListBySizeCount to make WinDbg's !sysptes extension happy

svn path=/trunk/; revision=72490

reactos/ntoskrnl/mm/ARM3/syspte.c

index 2cce704..673b2e9 100644 (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 **********************************************************/