Available on x86 or x86-64 only.
Expand description

Processor feature detection with CPUID.

Structs§

  • Indicates the processor’s maximum supported physical and virtual address sizes.
  • Primary feature list returned in CPUID.01H:ECX+EDX.
  • Features applicable to 64-bit processors, returned in CPUID.80000000H:ECX+EDX.

Functions§

  • Low-level CPUID call. Writes the leaf/subleaf index given in the arguments to EAX/ECX and returns the values written to EAX–EDX.
  • Get the maximum primary index value (EAX) supported for basic CPUID calls by this processor (below 0x8000_0000).
  • Get the maximum primary index value (EAX) supported for extended CPUID calls by this processor (above 0x8000_0000).