@@ -51,7 +51,7 @@ size_t length=sizeof(value);
51
51
// Ampere
52
52
#define CPU_EMAG8180 10
53
53
// Apple
54
- #define CPU_SILICON 11
54
+ #define CPU_VORTEX 13
55
55
56
56
static char * cpuname [] = {
57
57
"UNKNOWN" ,
@@ -67,7 +67,7 @@ static char *cpuname[] = {
67
67
"EMAG8180" ,
68
68
"NEOVERSEN1" ,
69
69
"THUNDERX3T110" ,
70
- "SILICON "
70
+ "VORTEX "
71
71
};
72
72
73
73
static char * cpuname_lower [] = {
@@ -84,7 +84,7 @@ static char *cpuname_lower[] = {
84
84
"emag8180" ,
85
85
"neoversen1" ,
86
86
"thunderx3t110" ,
87
- "silicon "
87
+ "vortex "
88
88
};
89
89
90
90
int get_feature (char * search )
@@ -209,7 +209,7 @@ int detect(void)
209
209
#else
210
210
#ifdef DARWIN
211
211
sysctlbyname ("hw.cpufamily" ,& value ,& length ,NULL ,0 );
212
- if (value == 131287967 ) return CPU_SILICON ;
212
+ if (value == 131287967 ) return CPU_VORTEX ;
213
213
#endif
214
214
return CPU_ARMV8 ;
215
215
#endif
@@ -415,8 +415,8 @@ void get_cpuconfig(void)
415
415
printf ("#define DTB_SIZE 4096 \n" );
416
416
break ;
417
417
#ifdef DARWIN
418
- case CPU_SILICON :
419
- printf ("#define SILICON \n" );
418
+ case CPU_VORTEX :
419
+ printf ("#define VORTEX \n" );
420
420
sysctlbyname ("hw.l1icachesize" ,& value ,& length ,NULL ,0 );
421
421
printf ("#define L1_CODE_SIZE %d \n" ,value );
422
422
sysctlbyname ("hw.cachelinesize" ,& value ,& length ,NULL ,0 );
0 commit comments