qemu_register_reset(&cpu_ppc_reset, env);
envs[i] = env;
}
- if (env->nip < 0xFFF80000) {
- /* Special test for PowerPC 601:
- * the boot vector is at 0xFFF00100, then we need a 1MB BIOS.
- * But the NVRAM is located at 0xFFF04000...
- */
- cpu_abort(env, "Mac99 hardware can not handle 1 MB BIOS\n");
- }
/* allocate RAM */
ram_offset = qemu_ram_alloc(ram_size);
qemu_register_reset(&cpu_ppc_reset, env);
envs[i] = env;
}
- if (env->nip < 0xFFF80000) {
- /* Special test for PowerPC 601:
- * the boot vector is at 0xFFF00100, then we need a 1MB BIOS.
- * But the NVRAM is located at 0xFFF04000...
- */
- cpu_abort(env, "G3 Beige Mac hardware can not handle 1 MB BIOS\n");
- }
/* allocate RAM */
if (ram_size > (2047 << 20)) {
#define TARGET_HAS_ICE 1
-#if defined (TARGET_PPC64)
+/* Load a 32 bit BIOS also on 64 bit machines */
+#if defined (TARGET_PPC64) && defined(CONFIG_USER_ONLY)
#define ELF_MACHINE EM_PPC64
#else
#define ELF_MACHINE EM_PPC