aboutsummaryrefslogtreecommitdiff
path: root/hw/an5206.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-03 11:13:39 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-03 11:13:39 +0000
commit20dcee9483361ee0621cf6d68d271ecde686fd9c (patch)
tree12935f98ad16a1c931026d01ed76beaaea0550a4 /hw/an5206.c
parent62ea5b0bd38471ef114ca2e2dd7507a778701cd3 (diff)
downloadqemu-20dcee9483361ee0621cf6d68d271ecde686fd9c.zip
qemu-20dcee9483361ee0621cf6d68d271ecde686fd9c.tar.gz
qemu-20dcee9483361ee0621cf6d68d271ecde686fd9c.tar.bz2
MCF5208 emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2924 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/an5206.c')
-rw-r--r--hw/an5206.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/an5206.c b/hw/an5206.c
index 1306d19..379f48e 100644
--- a/hw/an5206.c
+++ b/hw/an5206.c
@@ -40,7 +40,9 @@ static void an5206_init(int ram_size, int vga_ram_size, int boot_device,
env = cpu_init();
if (!cpu_model)
cpu_model = "m5206";
- cpu_m68k_set_model(env, cpu_model);
+ if (cpu_m68k_set_model(env, cpu_model)) {
+ cpu_abort(env, "Unable to find m68k CPU definition\n");
+ }
/* Initialize CPU registers. */
env->vbr = 0;