From dcac9679febc944f79e82fb9970ad83154de22ac Mon Sep 17 00:00:00 2001 From: pbrook Date: Thu, 9 Apr 2009 20:05:49 +0000 Subject: Use load_image_targphys and avoid phys_ram_base. Signed-off-by: Paul Brook git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7056 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/shix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/shix.c') diff --git a/hw/shix.c b/hw/shix.c index eba44f562f..61bc735dea 100644 --- a/hw/shix.c +++ b/hw/shix.c @@ -73,7 +73,7 @@ static void shix_init(ram_addr_t ram_size, int vga_ram_size, if (bios_name == NULL) bios_name = BIOS_FILENAME; printf("%s: load BIOS '%s'\n", __func__, bios_name); - ret = load_image(bios_name, phys_ram_base); + ret = load_image_targphys(bios_name, 0, 0x4000); if (ret < 0) { /* Check bios size */ fprintf(stderr, "ret=%d\n", ret); fprintf(stderr, "qemu: could not load SHIX bios '%s'\n", -- cgit v1.2.1