__get_cpuid_max

Function __get_cpuid_max 

1.27.0 ยท Source
pub fn __get_cpuid_max(leaf: u32) -> (u32, u32)
Available on x86-64 only.
Expand description

Returns the EAX and EBX register after calling CPUID with the provided leaf, with sub_leaf set to 0.

If leaf if 0 or 0x80000000, the first tuple argument contains the maximum supported basic or extended leaf, respectively.

See also __cpuid and __cpuid_count.