If a register returned is a single 32-bit value, then a data structure is\r
not provided for that register.\r
\r
- Copyright (c) 2017, Advanced Micro Devices. All rights reserved.<BR>\r
+ Copyright (c) 2017 - 2024, Advanced Micro Devices. All rights reserved.<BR>\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
/// @}\r
///\r
\r
+/**\r
+ CPUID Extended Topology Enumeration\r
+\r
+ @note\r
+ Reference: AMD64 Architecture Programmer’s Manual Volume 3: General-Purpose and System Instructions,\r
+ Revision 3.35 Appendix E,\r
+ E.4.24 Function 8000_0026—Extended CPU Topology:\r
+ CPUID Fn8000_0026 reports extended topology information for logical processors, including\r
+ asymmetric and heterogenous topology descriptions. Individual logical processors may report\r
+ different values in systems with asynchronous and heterogeneous topologies.\r
+ The topology level is selected by the value passed to the instruction in ECX. To discover the topology\r
+ of a system, software should execute CPUID Fn8000_0026 with increasing ECX values, starting with\r
+ a value of zero, until the returned hierarchy level type (CPUID Fn8000_0026_ECX[LevelType]) is\r
+ equal to zero. It is not guaranteed that all topology level types are present in the system\r
+\r
+ @param EAX AMD_CPUID_EXTENDED_TOPOLOGY (0x80000026)\r
+ @param ECX Level number\r
+\r
+**/\r
+#define AMD_CPUID_EXTENDED_TOPOLOGY 0x80000026\r
+\r
/**\r
CPUID Extended Processor Signature and Features\r
\r