#include <oskit/x86/cpuid.h>void cpuid([out] struct cpu_info *out_info);
This function identifies the CPU on which it is running using Intel's recommended CPU identification procedure, and fills in the supplied structure with the information found.Note that since the cpuid function is 32-bit code, it wouldn't run on anything less than an 80386 in the first place; therefore it doesn't bother to check for earlier processors.
- out_info
- The CPU information structure to fill in.