aboutsummaryrefslogtreecommitdiff
path: root/hw/mips_r4k.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-01 12:36:18 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-01 12:36:18 +0000
commit60aa19abefe2dc4d67a273dd0fa3b81810cdf21c (patch)
treebe3a4559aa8571f18cefecf33346148c4ae84d65 /hw/mips_r4k.c
parentfbe4f65b28aa24534afe7669eb3087c1b5657c08 (diff)
Actually enable 64bit configuration.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2565 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_r4k.c')
-rw-r--r--hw/mips_r4k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index 7709418c00..487983e462 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -15,7 +15,7 @@
#define BIOS_FILENAME "mipsel_bios.bin"
#endif
-#ifdef MIPS_HAS_MIPS64
+#ifdef TARGET_MIPS64
#define INITRD_LOAD_ADDR (int64_t)(int32_t)0x80800000
#else
#define INITRD_LOAD_ADDR (int32_t)0x80800000
@@ -142,7 +142,7 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device,
/* init CPUs */
if (cpu_model == NULL) {
-#ifdef MIPS_HAS_MIPS64
+#ifdef TARGET_MIPS64
cpu_model = "R4000";
#else
cpu_model = "4KEc";