diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-10 15:15:54 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-10 15:15:54 +0000 |
commit | aaed909a495e78364abc6812df672d2e764961a8 (patch) | |
tree | 704ab4280f250fa310bee6a3d0ba94e5417daef3 /hw/etraxfs.c | |
parent | 7d77bf200682ed8cbd0c94bdfbac64dc4b23b149 (diff) | |
download | qemu-aaed909a495e78364abc6812df672d2e764961a8.zip qemu-aaed909a495e78364abc6812df672d2e764961a8.tar.gz qemu-aaed909a495e78364abc6812df672d2e764961a8.tar.bz2 |
added cpu_model parameter to cpu_init()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3562 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/etraxfs.c')
-rw-r--r-- | hw/etraxfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |