Post · 4 min read· pp. 1580–1585

MI_SYSTEM_VA_STATE

The MI_SYSTEM_VA_STATE structure (formally _MI_SYSTEM_VA_STATE) is known only as the type of the SystemVa member of the MI_SYSTEM_INFORMATION, which is in turn the type of the internal variable MiState in the Windows 10 kernel.

As a collection of what earlier versions had as separately named internal variables, the MI_SYSTEM_VA_STATE is highly susceptible to changing between builds.

VersionSize (x86)Size (x64)
10.0 to 15110x14C00x02C0
16070x14C00x0300
17030x15000x0380
17090x15000x03C0
1803 to 18090x27400x0500
19030x27400x0480
20040x27400x04C0

These sizes and the offsets, names and types in the table below are from type information in the public symbol files for the kernel.

Offset (x86)Offset (x64)DefinitionVersionsRemarks
0x000x00ULONG_PTR SystemTablesLock;10.0 and higher
0x04ULONG SystemVaBias;10.0 and higher
0x08ULONG SystemAvailableVaLow;10.0 and higher
0x0CULONG VirtualBias;10.0 and higher
0x10 (10.0 to 1511)PVOID HyperSpaceEnd;10.0 to 1511next at 0x1418
0x14 (10.0 to 1511); 0x10 (1607)MMPTE *HyperSpaceEndPte;10.0 to 1607
0x18 (10.0 to 1511); 0x14 (1607); 0x10PVOID SystemRangeStart;10.0 and higher
0x1C (10.0 to 1511); 0x18 (1607); 0x14UCHAR SystemCachePdeCount [0x0400];10.0 and higher
0x041C (10.0 to 1511); 0x0418 (1607); 0x0414PVOID SystemCacheReverseMaps [0x0400];10.0 and higher
0x08ULONGLONG AvailableSystemCacheVa;10.0 and higher
0x10MI_DYNAMIC_BITMAP DynamicBitMapKernelStacks;1709 and higher
0x10 (10.0 to 1703); 0x58MI_DYNAMIC_BITMAP DynamicBitMapSystemPtes;10.0 and higher
0x60 (10.0 to 1607); 0x58 (1703); 0xA0MI_DYNAMIC_BITMAP DynamicBitMapDriverImages [2];10.0 and higher
0x0100 (10.0 to 1607); 0xE8 (1703); 0x0130MI_DYNAMIC_BITMAP DynamicBitMapPagedPool;10.0 and higher
0x0150 (10.0 to 1607); 0x0130 (1703); 0x0178 (1709 to 1809)MI_DYNAMIC_BITMAP DynamicBitMapSpecialPool;10.0 to 1607
MI_DYNAMIC_BITMAP DynamicBitMapSpecialPool [2];1703 to 1809
0x01A0 (10.0 to 1607); 0x01C0 (1703); 0x0208 (1709 to 1809); 0x0178MI_DYNAMIC_BITMAP DynamicBitMapSystemCache;10.0 and higher
0x01C0MI_DYNAMIC_BITMAP DynamicBitMapSecureNonPagedPool;2004 and higher
0x0208 (1703); 0x0250 (1709 to 1809); 0x01C0 (1903); 0x0208PVOID HalPrivateVaStart;1703 and higher
0x0210 (1703); 0x0258 (1709 to 1809); 0x01C8 (1903); 0x0210ULONGLONG HalPrivateVaSize;1703 and higher
0x01F0 (10.0 to 1607); 0x0218 (1703); 0x0260 (1709 to 1809); 0x01D0 (1903); 0x0218ULONG SystemVaAssignment [8];1607 and higher
0x0210 (10.0 to 1607); 0x0238 (1703); 0x0280 (1709 to 1809); 0x01F0 (1903); 0x0238ULONG SystemVaAssignmentHint;1607 and higher
0x1414MI_SYSTEM_REGION_REFERENCE VaRegion [0x0400];1803 and higher
0x24140x0284 (1803 to 1809); 0x01F4 (1903); 0x023CULONG TopLevelPteLockBits [0x80];1803 and higher (x86)
ULONG TopLevelPteLockBits [0x20];1803 and higher (x64)
0x2614ULONG TopLevelPteAlternateLockBits [4];1803 and higher
0x1414 (1703 to 1709); 0x26240x023C (1703); 0x0284 (1709); 0x0304 (1803 to 1809); 0x0274 (1903); 0x02BCLONG volatile DeleteKvaLock;1703 and higherpreviously at 0x143C and 0x0258
0x1418 (1703 to 1709); 0x26280x0240 (1703); 0x0288 (1709); 0x0308 (1803 to 1809); 0x0278 (1903); 0x02C0MI_WSLE *WsleArrays [5];1703 to 1709
MI_WSLE *WsleArrays [8];1803 and higher
0x142C (1703 to 1709); 0x26480x0268 (1703); 0x02B0 (1709); 0x0348 (1803 to 1809); 0x02B8 (1903); 0x0300MI_HYPER_SPACE *PagableHyperSpace;1703 and higher
0x1418 (1607); 0x1430 (1703 to 1709); 0x264C0x0218 (1607); 0x0270 (1703); 0x02B8 (1709); 0x0350 (1803 to 1809); 0x02C0 (1903); 0x0308PVOID HyperSpaceEnd;1607 and higherpreviously at 0x10 (x86)
0x141C (10.0 to 1607)0x01F0 (10.0 to 1511); 0x0220 (1607)MMWSLE_HASH *WorkingSetListHashStart;10.0 to 1607
0x1420 (10.0 to 1607)0x01F8 (10.0 to 1511); 0x0228 (1607)MMWSLE_HASH *WorkingSetListHashEnd;10.0 to 1607
0x1424 (10.0 to 1607)0x0200 (10.0 to 1511); 0x0230 (1607)MMWSLE_NONDIRECT_HASH *WorkingSetListIndirectHashStart;10.0 to 1607
0x26500x02C8 (1903); 0x0310ULONG_PTR PagableHyperSpaceBytes;1903 and higher
0x02D0 (1903); 0x0318ULONGLONG PageTableCommitmentOffset [2];1903 and higher
0x1428 (10.0 to 1607); 0x1434 (1703 to 1709); 0x2650 (1803 to 1809); 0x26540x0208 (10.0 to 1511); 0x0238 (1607); 0x0278 (1703); 0x02C0 (1709); 0x0358 (1803 to 1809); 0x02E0 (1903); 0x0328KEVENT FreeSystemCacheVa;10.0 and higher
0x1438 (10.0 to 1607); 0x1444 (1703 to 1709); 0x2660 (1803 to 1809); 0x26640x0220 (10.0 to 1511); 0x0250 (1607); 0x0290 (1703); 0x02D8 (1709); 0x0370 (1803 to 1809); 0x02F8 (1903); 0x0340ULONG_PTR SystemVaLock;10.0 and higher
0x143C (10.0 to 1607)0x0228 (10.0 to 1511); 0x0258 (1607)LONG volatile DeleteKvaLock;10.0 to 1607next at 0x1414 and 0x023C
0x1440 (10.0 to 1607)0x0230 (10.0 to 1511); 0x0260 (1607)MI_PTE_CHAIN_HEAD FreeSystemCache;10.0 to 1607
0x1458 (10.0 to 1607); 0x1448 (1703 to 1709); 0x2664 (1803 to 1809); 0x26680x0248 (10.0 to 1511); 0x0278 (1607); 0x0298 (1703); 0x02E0 (1709); 0x0378 (1803 to 1809); 0x0300 (1903); 0x0348ULONG_PTR SystemCacheViewLock;10.0 and higher
0x145C (1607)0x0280 (1607)EX_PUSH_LOCK SystemCacheInitLock;1607 only
0x145C (10.0 to 1511); 0x1460 (1607)0x0250 (10.0 to 1511); 0x0288 (1607)ULONG_PTR UnusableWsles [5];10.0 to 1607
0x1470 (10.0 to 1511); 0x1474 (1607)0x0278 (10.0 to 1511); 0x02B0 (1607)ULONG_PTR PossibleWsles [5];10.0 to 1607
0x1488 (1607)0x02D8 (1607)MMSUPPORT_INSTANCE *SystemWs [3];1607 only
0x144C (1703 to 1709); 0x2668 (1803 to 1809); 0x266C0x02A0 (1703); 0x02E8 (1709); 0x0380 (1803 to 1809); 0x0308 (1903); 0x0350MMWSL_INSTANCE SystemWorkingSetList [5];1703 to 1709
MMWSL_INSTANCE SystemWorkingSetList [8];1803 and higher
0x04C0 (1803 to 1809); 0x0448 (1903); 0x0490ULONGLONG SelfmapLock [4];1803 and higher