next up previous contents index
Next: 10.5.5 cpu_info_dump: pretty-print a Up: (X86) Processor Identification and Previous: 10.5.3 cpu_info_format: output a

10.5.4 cpu_info_min: return the minimum feature set of two CPU information structures

 

SYNOPSIS

#include <oskit/x86/cpuid.h>

void cpu_info_min(struct cpu_info *id1, struct cpu_info *id2);

DESCRIPTION

Determine the minimum (least-common-denominator) feature set of the two provided structures and return that. The new feature set is returned in id1.

Typically used on SMP systems to determine the basic feature set common across all processors in the system regardless of type.

PARAMETERS

id1, id2
The CPU information structures to compare.



University of Utah Flux Research Group