diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-18 18:33:18 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-18 18:33:18 +0000 |
commit | 905fdcb5264c7b0ed2896dc042e6fe3dd0e25952 (patch) | |
tree | 9f954284652adf218ba215af7e9362dfd90359a9 /hw/pc.c | |
parent | 084a197a2026d3cc523c61c42d9425cadcddf81b (diff) | |
download | qemu-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |