Diff for libplaton/platon/cpu/x86cpuid.c between version 1.5 and 1.6
| version 1.5, 2010/04/24 10:20:20 |
version 1.6, 2010/04/24 10:25:10 |
|
|
| # include <string.h> |
# include <string.h> |
| #endif |
#endif |
| |
|
| |
#if defined(__sparc__) |
| |
|
| |
char *x86cpuid(void) |
| |
{ |
| |
static char *str = "not implemented"; |
| |
return str; |
| |
} |
| |
|
| |
#else |
| |
|
| char *x86cpuid(void) |
char *x86cpuid(void) |
| { |
{ |
| unsigned long x[4]; |
unsigned long x[4]; |
| Line 57 char *x86cpuid(void) |
|
| Line 67 char *x86cpuid(void) |
|
| return str; |
return str; |
| } |
} |
| |
|
| |
#endif /* #if defined(__sparc__) */ |
| |
|
| #if defined(SELF) || defined(SELFTEST) || defined(SELF_X86CPUID) |
#if defined(SELF) || defined(SELFTEST) || defined(SELF_X86CPUID) |
| |
|
| int main(void) |
int main(void) |
Platon Group <platon@platon.org> http://platon.org/
|
|