Skip to main content

cpu_feature_model

Function cpu_feature_model 

Source
pub open spec fn cpu_feature_model() -> CpuFeatureModel
Expand description
{ CpuFeatureModel::from_cpuid(reference_cpuid()) }

The CPUID data shared by every logical CPU on which OSTD executes.

The CPUID contracts assume that the maximum basic leaf agrees across those CPUs and remains stable throughout execution.