Home | History | Annotate | Download | only in base

Lines Matching full:cpuid

18 // Inline cpuid instruction.  In PIC compilations, %ebx contains the address
20 // must preserve that register's value across cpuid instructions.
22 #define cpuid(a, b, c, d, inp) \
24 "cpuid\n" \
28 #define cpuid(a, b, c, d, inp) \
30 "cpuid\n" \
35 #if defined(cpuid) // initialize the struct only on x86
64 // Get vendor string (issue CPUID with eax = 0)
65 cpuid(eax, ebx, ecx, edx, 0);
73 cpuid(eax, ebx, ecx, edx, 1);