diff options
author | pbrook | 2007-03-08 04:04:12 +0100 |
---|---|---|
committer | pbrook | 2007-03-08 04:04:12 +0100 |
commit | 3371d27293dc40159069d6593da22ba77ac8513c (patch) | |
tree | 1ea59000c4beb850f0b1e36aaa66f839d226efcf /hw/realview.c | |
parent | Great PowerPC emulation code resynchronisation and improvments: (diff) | |
download | qemu-3371d27293dc40159069d6593da22ba77ac8513c.tar.gz qemu-3371d27293dc40159069d6593da22ba77ac8513c.tar.xz qemu-3371d27293dc40159069d6593da22ba77ac8513c.zip |
Implement --cpu for ARM.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2474 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/realview.c')
-rw-r--r-- | hw/realview.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/realview.c b/hw/realview.c index 325b3d1ab3..619739c11c 100644 --- a/hw/realview.c +++ b/hw/realview.c @@ -26,8 +26,9 @@ static void realview_init(int ram_size, int vga_ram_size, int boot_device, int done_smc = 0; env = cpu_init(); - cpu_arm_set_model(env, ARM_CPUID_ARM926); - //cpu_arm_set_model(env, ARM_CPUID_ARM11MPCORE); + if (!cpu_model) + cpu_model = "arm926"; + cpu_arm_set_model(env, cpu_model); /* ??? RAM shoud repeat to fill physical memory space. */ /* SDRAM at address zero. */ cpu_register_physical_memory(0, ram_size, IO_MEM_RAM); |