-/**\r
- Display CPUID_V2_EXTENDED_TOPOLOGY_ENUMERATION main leaf and sub-leafs.\r
-\r
-**/\r
-VOID\r
-CpuidV2ExtendedTopologyEnumeration (\r
- VOID\r
- )\r
-{\r
- CPUID_EXTENDED_TOPOLOGY_EAX Eax;\r
- CPUID_EXTENDED_TOPOLOGY_EBX Ebx;\r
- CPUID_EXTENDED_TOPOLOGY_ECX Ecx;\r
- UINT32 Edx;\r
-\r
- if (CPUID_V2_EXTENDED_TOPOLOGY > gMaximumBasicFunction) {\r
- return;\r
- }\r
-\r
- AsmCpuidEx (\r
- CPUID_V2_EXTENDED_TOPOLOGY,\r
- 0,\r
- &Eax.Uint32, &Ebx.Uint32, &Ecx.Uint32, &Edx\r
- );\r
- Print (L"CPUID_V2_EXTENDED_TOPOLOGY (Leaf %08x, Sub-Leaf %08x)\n", CPUID_V2_EXTENDED_TOPOLOGY, 0);\r
- Print (L" EAX:%08x EBX:%08x ECX:%08x EDX:%08x\n", Eax.Uint32, Ebx.Uint32, Ecx.Uint32, Edx);\r
-\r
- PRINT_BIT_FIELD (Eax, ApicIdShift);\r
- PRINT_BIT_FIELD (Ebx, LogicalProcessors);\r
- PRINT_BIT_FIELD (Ecx, LevelNumber);\r
- PRINT_BIT_FIELD (Ecx, LevelType);\r
- PRINT_VALUE (Edx, x2APICID);\r
-}\r
-\r