Struct raw_cpuid::ProcessorCapacityAndFeatureInfo [−][src]
pub struct ProcessorCapacityAndFeatureInfo { /* fields omitted */ }
Expand description
Processor Capacity Parameters and Extended Feature Identification (LEAF=0x8000_0008).
This function provides the size or capacity of various architectural parameters that vary by implementation, as well as an extension to the 0x8000_0001 feature identifiers.
Platforms
✅ AMD 🟡 Intel
Implementations
Guest Physical Address Bits
This number applies only to guests using nested paging. When this field is zero, refer to the PhysAddrSize field for the maximum guest physical address size.
Platforms
✅ AMD ❌ Intel (reserved=0)
INVLPGB support for invalidating guest nested translations if set.
Platforms
✅ AMD ❌ Intel (reserved=false)
Performance time-stamp counter size (in bits).
Indicates the size of MSRC001_0280[PTSC]
.
Platforms
✅ AMD ❌ Intel (reserved=false)
APIC ID size.
A value of zero indicates that legacy methods must be used to determine
the maximum number of logical processors, as indicated by CPUID
Fn8000_0008_ECX[NC]
.
Platforms
✅ AMD ❌ Intel (reserved=0)
The size of the apic_id_size
field determines the maximum number of
logical processors (MNLP) that the package could theoretically support,
and not the actual number of logical processors that are implemented or
enabled in the package, as indicated by CPUID Fn8000_0008_ECX[NC]
.
MNLP = (2 raised to the power of ApicIdSize[3:0])
(if not 0)
Platforms
✅ AMD ❌ Intel (reserved=0)
Number of physical threads.
The number of bits in the initial APIC20[ApicId]
value that indicate
logical processor ID within a package. The size of this field determines
the maximum number of logical processors (MNLP) that the package could
theoretically support, and not the actual number of logical processors
that are implemented or enabled in the package, as indicated by CPUID
Fn8000_0008_ECX[NC]
. A value of zero indicates that legacy methods must
be used to determine the maximum number of logical processors, as
indicated by CPUID Fn8000_0008_ECX[NC]
.
MNLP = (2 raised to the power of ApicIdSize[3:0])
(if not 0)
Platforms
✅ AMD ❌ Intel (reserved=0)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.