Function core::arch::x86_64::__get_cpuid_max

1.27.0 · source ·
pub unsafe fn __get_cpuid_max(leaf: u32) -> (u32, u32)
Available on x86-64 and (x86 or x86-64) only.
Expand description

返回最高支持的 leaf (EAX) 和子叶 (ECX) cpuid 值。

如果支持 cpuid,并且 leaf 为零,则第一个元组参数包含 cpuid 支持的最高 leaf 值。 对于包含子叶的 `leaf’,第二个元组参数包含支持的最高子叶值。

另请参见 __cpuid__cpuid_count