Home | History | Annotate | Download | only in src

Lines Matching refs:cpuid

41 // Inline cpuid instruction.  In PIC compilations, %ebx contains the address
43 // must preserve that register's value across cpuid instructions.
45 #define cpuid(a, b, c, d, inp) \
47 "cpuid\n" \
51 #define cpuid(a, b, c, d, inp) \
53 "cpuid\n" \
58 #if defined(cpuid) // initialize the struct only on x86
84 // Get vendor string (issue CPUID with eax = 0)
85 cpuid(eax, ebx, ecx, edx, 0);
93 cpuid(eax, ebx, ecx, edx, 1);