summaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-18 18:33:18 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-18 18:33:18 +0000
commit905fdcb5264c7b0ed2896dc042e6fe3dd0e25952 (patch)
tree9f954284652adf218ba215af7e9362dfd90359a9 /hw/pc.c
parent084a197a2026d3cc523c61c42d9425cadcddf81b (diff)
downloadqemu-905fdcb5264c7b0ed2896dc042e6fe3dd0e25952.zip
Add common keys to firmware configuration
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5260 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 12b8119b2a..e7cba9a645 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -433,6 +433,7 @@ static void bochs_bios_init(void)
fw_cfg = fw_cfg_init(BIOS_CFG_IOPORT, BIOS_CFG_IOPORT + 1, 0, 0);
fw_cfg_add_i32(fw_cfg, FW_CFG_ID, 1);
+ fw_cfg_add_i64(fw_cfg, FW_CFG_RAM_SIZE, (uint64_t)ram_size);
}
/* Generate an initial boot sector which sets state and jump to