Fix naming of L2 cache size item reported for Vortex

This commit is contained in:
Martin Kroeker
2020-10-18 19:22:05 +02:00
committed by GitHub
parent f5902ab0a1
commit 2e7ee7c716

View File

@@ -424,7 +424,7 @@ void get_cpuconfig(void)
sysctlbyname("hw.l1dcachesize",&value,&length,NULL,0);
printf("#define L1_DATA_SIZE %d \n",value);
sysctlbyname("hw.l2dcachesize",&value,&length,NULL,0);
printf("#define L2_DATA_SIZE %d \n",value);
printf("#define L2_SIZE %d \n",value);
break;
#endif
}