From 17044c06b846e84191534a8a8f8bdc56a2b2e619 Mon Sep 17 00:00:00 2001 From: ths Date: Fri, 22 Jun 2007 23:50:19 +0000 Subject: [PATCH] Allow emulation of 32bit targets in the MIPS64 capable qemu version. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3007 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/translate_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index e576ef865a..5d25e57466 100644 --- a/target-mips/translate_init.c +++ b/target-mips/translate_init.c @@ -77,7 +77,6 @@ struct mips_def_t { /* MIPS CPU definitions */ static mips_def_t mips_defs[] = { -#ifndef TARGET_MIPS64 { .name = "4Kc", .CP0_PRid = 0x00018000, @@ -135,7 +134,7 @@ static mips_def_t mips_defs[] = .CP1_fcr0 = (1 << FCR0_F64) | (1 << FCR0_L) | (1 << FCR0_W) | (1 << FCR0_D) | (1 << FCR0_S) | (0x93 << FCR0_PRID), }, -#else +#ifdef TARGET_MIPS64 { .name = "R4000", .CP0_PRid = 0x00000400,