D | cpuid.h | 97 #define __cpuid(__level, __eax, __ebx, __ecx, __edx) \ argument 102 : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \ 105 #define __cpuid_count(__level, __count, __eax, __ebx, __ecx, __edx) \ argument 110 : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \ 113 #define __cpuid(__level, __eax, __ebx, __ecx, __edx) \ argument 114 __asm("cpuid" : "=a"(__eax), "=b" (__ebx), "=c"(__ecx), "=d"(__edx) \ 117 #define __cpuid_count(__level, __count, __eax, __ebx, __ecx, __edx) \ argument 118 __asm("cpuid" : "=a"(__eax), "=b" (__ebx), "=c"(__ecx), "=d"(__edx) \ 122 static __inline int __get_cpuid (unsigned int __level, unsigned int *__eax, in __get_cpuid() argument 125 __cpuid(__level, *__eax, *__ebx, *__ecx, *__edx); in __get_cpuid() [all …]
|