From 7fb4fdcffeb199c1a742c45ac2413be8a9a33354 Mon Sep 17 00:00:00 2001 From: balrog Date: Thu, 24 Apr 2008 17:59:27 +0000 Subject: RAM usage information in machine definition. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4246 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/pc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hw/pc.c') 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, }; -- cgit v1.1