summaryrefslogtreecommitdiffstats
path: root/hw/pc.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-24 17:59:27 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-24 17:59:27 +0000
commit7fb4fdcffeb199c1a742c45ac2413be8a9a33354 (patch)
tree39c795fed9ae5e8d59afde1ca6031702cdd3224e /hw/pc.c
parentc73f96fddc0f5ec7c708290f159b04cfa09ef713 (diff)
downloadhqemu-7fb4fdcffeb199c1a742c45ac2413be8a9a33354.zip
hqemu-7fb4fdcffeb199c1a742c45ac2413be8a9a33354.tar.gz
RAM usage information in machine definition.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4246 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index abd96f0..d1db2a5 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -39,6 +39,8 @@
#define VGABIOS_FILENAME "vgabios.bin"
#define VGABIOS_CIRRUS_FILENAME "vgabios-cirrus.bin"
+#define PC_MAX_BIOS_SIZE (4 * 1024 * 1024)
+
/* Leave a chunk of memory at the top of RAM for the BIOS ACPI tables. */
#define ACPI_DATA_SIZE 0x10000
@@ -1018,10 +1020,12 @@ QEMUMachine pc_machine = {
"pc",
"Standard PC",
pc_init_pci,
+ VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,
};
QEMUMachine isapc_machine = {
"isapc",
"ISA-only PC",
pc_init_isa,
+ VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,
};
OpenPOWER on IntegriCloud