]> git.proxmox.com Git - qemu.git/blobdiff - hw/an5206.c
MCF5208 emulation.
[qemu.git] / hw / an5206.c
index 1306d1964db0a207070f1e6498c3694c462bd8b9..379f48e7868da1387aa35b20ae42ddef86e8ab7e 100644 (file)
@@ -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;