Permalink
Showing
with
27 additions
and 2 deletions.
| @@ -0,0 +1,23 @@ | ||
| diff --git cpuid_x86.c cpuid_x86.c | ||
| index eb986b6..c5c02f5 100644 | ||
| --- cpuid_x86.c | ||
| +++ cpuid_x86.c | ||
| @@ -87,10 +87,6 @@ void cpuid_count(int op, int count, int *eax, int *ebx, int *ecx, int *edx) | ||
|
|
||
| #ifndef CPUIDEMU | ||
|
|
||
| -#if defined(__APPLE__) && defined(__i386__) | ||
| -void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx); | ||
| -void cpuid_count(int op, int count, int *eax, int *ebx, int *ecx, int *edx); | ||
| -#else | ||
| static C_INLINE void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx){ | ||
| #if defined(__i386__) && defined(__PIC__) | ||
| __asm__ __volatile__ | ||
| @@ -116,7 +112,6 @@ static C_INLINE void cpuid_count(int op, int count ,int *eax, int *ebx, int *ecx | ||
| ("cpuid": "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx) : "0" (op), "2" (count) : "cc"); | ||
| #endif | ||
| } | ||
| -#endif | ||
|
|
||
| #else | ||
|
|