diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/mips_malta.c | 4 | ||||
-rw-r--r-- | hw/mips_r4k.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c index 43592df522..e4b43bea99 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -30,7 +30,7 @@ #define BIOS_FILENAME "mipsel_bios.bin" #endif -#ifdef MIPS_HAS_MIPS64 +#ifdef TARGET_MIPS64 #define INITRD_LOAD_ADDR (int64_t)0x80800000 #else #define INITRD_LOAD_ADDR (int32_t)0x80800000 @@ -662,7 +662,7 @@ void mips_malta_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"; 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"; |