aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-29 10:19:50 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-29 10:19:50 +0000
commit4c823cff9e0a3a11d917869dfbc8ae94bff26bba (patch)
tree182d9eb8fefcf763f8909ae7c345bc8ea6cf7c65 /vl.h
parentd2123ead89bd2d337793dcd739352142ff69007c (diff)
downloadqemu-4c823cff9e0a3a11d917869dfbc8ae94bff26bba.zip
qemu-4c823cff9e0a3a11d917869dfbc8ae94bff26bba.tar.gz
qemu-4c823cff9e0a3a11d917869dfbc8ae94bff26bba.tar.bz2
PowerPC 601 / 620 / 970 need a 1MB firmware.
This option is not allowed for PowerMac, as it would overlap with NVRAM. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3480 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vl.h b/vl.h
index 5a7f74f..964d2ea 100644
--- a/vl.h
+++ b/vl.h
@@ -197,7 +197,9 @@ extern unsigned int nb_prom_envs;
/* XXX: make it dynamic */
#define MAX_BIOS_SIZE (4 * 1024 * 1024)
-#if defined (TARGET_PPC) || defined (TARGET_SPARC64)
+#if defined (TARGET_PPC)
+#define BIOS_SIZE (1024 * 1024)
+#elif defined (TARGET_SPARC64)
#define BIOS_SIZE ((512 + 32) * 1024)
#elif defined(TARGET_MIPS)
#define BIOS_SIZE (4 * 1024 * 1024)