diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-10 00:26:15 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-10 00:26:15 +0000 |
commit | 446544909738bbaf7af927ecd5dcef45debc7167 (patch) | |
tree | 88c1b2935a3f0bb1015edb4628d72d43284b73e1 /hw/pc.c | |
parent | dc828ca1b59b0c390a6994c78e9658174f821f74 (diff) |
More phys_ram_base removal.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7060 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -871,7 +871,7 @@ static void pc_init1(ram_addr_t ram_size, int vga_ram_size, goto bios_error; } bios_offset = qemu_ram_alloc(bios_size); - ret = load_image(buf, phys_ram_base + bios_offset); + ret = load_image(buf, qemu_get_ram_ptr(bios_offset)); if (ret != bios_size) { bios_error: fprintf(stderr, "qemu: could not load PC BIOS '%s'\n", buf); |