pub fn get_cpuid(leaf: u32, subleaf: u32) -> Result<CpuidResult, GetCpuidError>Expand description
Extract entry from the cpuid.
ยงErrors
- When the given
leafis more thanmax_leafsupported by CPUID. - When the CPUID leaf
sub-leafis invalid (all its register equal 0).