rename 1004K, 24K to MIPS1004K, MIPS24K to avoid identifier naming problem

This commit is contained in:
Martin Kroeker 2020-04-18 23:50:23 +02:00 committed by GitHub
parent 00172d440b
commit a1fc98dc57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -78,8 +78,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
static char *cpuname[] = { static char *cpuname[] = {
"UNKNOWN", "UNKNOWN",
"P5600", "P5600",
"1004K", "MIPS1004K",
"24K" "MIPS24K"
}; };
int detect(void){ int detect(void){
@ -171,9 +171,9 @@ void get_libname(void){
if(detect()==CPU_P5600) { if(detect()==CPU_P5600) {
printf("p5600\n"); printf("p5600\n");
} else if (detect()==CPU_1004K) { } else if (detect()==CPU_1004K) {
printf("1004K\n"); printf("mips1004K\n");
} else if (detect()==CPU_24K) { } else if (detect()==CPU_24K) {
printf("24K\n"); printf("mips24K\n");
}else{ }else{
printf("mips\n"); printf("mips\n");
} }