D | cpuid.h | 150 #define __cpuid(__level, __eax, __ebx, __ecx, __edx) \ argument 151 __asm("cpuid" : "=a"(__eax), "=b" (__ebx), "=c"(__ecx), "=d"(__edx) \ 154 #define __cpuid_count(__level, __count, __eax, __ebx, __ecx, __edx) \ argument 155 __asm("cpuid" : "=a"(__eax), "=b" (__ebx), "=c"(__ecx), "=d"(__edx) \ 159 #define __cpuid(__level, __eax, __ebx, __ecx, __edx) \ argument 163 : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \ 166 #define __cpuid_count(__level, __count, __eax, __ebx, __ecx, __edx) \ argument 170 : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \ 174 static __inline int __get_cpuid (unsigned int __level, unsigned int *__eax, in __get_cpuid() argument 177 __cpuid(__level, *__eax, *__ebx, *__ecx, *__edx); in __get_cpuid() [all …]
|