Home | History | Annotate | Download | only in base

Lines Matching refs:cpuid

19 // Inline cpuid instruction.  In PIC compilations, %ebx contains the address
21 // must preserve that register's value across cpuid instructions.
23 #define cpuid(a, b, c, d, inp) \
25 "cpuid\n" \
29 #define cpuid(a, b, c, d, inp) \
31 "cpuid\n" \
36 #if defined(cpuid) // initialize the struct only on x86
53 // Get vendor string (issue CPUID with eax = 0)
54 cpuid(eax, ebx, ecx, edx, 0);
62 cpuid(eax, ebx, ecx, edx, 1);