Structs§
- Cpuid
Result - Result of the
cpuid
instruction.
Constants§
- CPUID
- An x86-64 cpuid instruction.
- CPUID_
INSN_ LEN - Length in bytes of an x86-64 cpuid instruction.
- RDRAND_
FLAG - rdrand flag in a
cpuid(RDRAND_LEAF)
result. - RDRAND_
LEAF - cpuid leaf for finding the rdrand bit.
- RDRAND_
SUB_ LEAF - cpuid leaf 1 doesn’t have sub-leaves.
- RDSEED_
FLAG - rdseed flag in a
cpuid_count(RDSEED_LEAF, RDSEED_SUB_LEAF)
result. - RDSEED_
LEAF - cpuid leaf for finding the rdseed bit.
- RDSEED_
SUB_ LEAF - cpuid sub-leaf for finding the rdseed bit.
Functions§
- cpuid⚠
- Execute the cpuid instruction for the given leaf and sub_leaf.
- ip_
is_ ⚠cpuid - Whether
ip
points to a cpuid instruction. - supports_
rdrand ⚠ - Whether the current CPU supports the
rdrand
instruction. - supports_
rdseed ⚠ - Whether the current CPU supports the
rdseed
instruction.