From aaed909a495e78364abc6812df672d2e764961a8 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 10 Nov 2007 15:15:54 +0000 Subject: added cpu_model parameter to cpu_init() git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3562 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/etraxfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/etraxfs.c') diff --git a/hw/etraxfs.c b/hw/etraxfs.c index 6697c7d..da21968 100644 --- a/hw/etraxfs.c +++ b/hw/etraxfs.c @@ -121,7 +121,7 @@ void bareetraxfs_init (int ram_size, int vga_ram_size, const char *boot_device, if (cpu_model == NULL) { cpu_model = "crisv32"; } - env = cpu_init(); + env = cpu_init(cpu_model); /* register_savevm("cpu", 0, 3, cpu_save, cpu_load, env); */ qemu_register_reset(main_cpu_reset, env); irqs = qemu_allocate_irqs(dummy_cpu_set_irq, env, 32); -- cgit v1.1