summary refs log tree commit diff stats
path: root/hw/mips/mipssim.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mips/mipssim.c')
-rw-r--r--hw/mips/mipssim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/mips/mipssim.c b/hw/mips/mipssim.c
index a07732d3dc..5f4835a38d 100644
--- a/hw/mips/mipssim.c
+++ b/hw/mips/mipssim.c
@@ -160,7 +160,8 @@ mips_mipssim_init(MachineState *machine)
 #endif
 
     /* Init CPUs. */
-    cpu = mips_cpu_create_with_clock(machine->cpu_type, cpuclk);
+    cpu = mips_cpu_create_with_clock(machine->cpu_type, cpuclk,
+                                     TARGET_BIG_ENDIAN);
     env = &cpu->env;
 
     reset_info = g_new0(ResetData, 1);