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
This commit is contained in:
ths 2007-06-22 23:50:19 +00:00
parent 7bfd934a13
commit 17044c06b8

View File

@ -77,7 +77,6 @@ struct mips_def_t {
/* MIPS CPU definitions */ /* MIPS CPU definitions */
static mips_def_t mips_defs[] = static mips_def_t mips_defs[] =
{ {
#ifndef TARGET_MIPS64
{ {
.name = "4Kc", .name = "4Kc",
.CP0_PRid = 0x00018000, .CP0_PRid = 0x00018000,
@ -135,7 +134,7 @@ static mips_def_t mips_defs[] =
.CP1_fcr0 = (1 << FCR0_F64) | (1 << FCR0_L) | (1 << FCR0_W) | .CP1_fcr0 = (1 << FCR0_F64) | (1 << FCR0_L) | (1 << FCR0_W) |
(1 << FCR0_D) | (1 << FCR0_S) | (0x93 << FCR0_PRID), (1 << FCR0_D) | (1 << FCR0_S) | (0x93 << FCR0_PRID),
}, },
#else #ifdef TARGET_MIPS64
{ {
.name = "R4000", .name = "R4000",
.CP0_PRid = 0x00000400, .CP0_PRid = 0x00000400,