summaryrefslogtreecommitdiff
path: root/util/x86emu
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-01-19 21:14:24 +0000
committerStefan Reinauer <stepan@openbios.org>2010-01-19 21:14:24 +0000
commit775a766462a84385d9be10a3c1fe4799db5811f4 (patch)
treece5a7255fca340f9bf5e792f2af65765d4691f81 /util/x86emu
parent8ed1b6d2dc16b25334dff13033843b8c7f125f83 (diff)
dev->rom_address was dropped a while ago which broke yabel. This patch fixes it
again. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5041 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/x86emu')
-rw-r--r--util/x86emu/yabel/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/x86emu/yabel/device.c b/util/x86emu/yabel/device.c
index 6804c66755..60bad5c122 100644
--- a/util/x86emu/yabel/device.c
+++ b/util/x86emu/yabel/device.c
@@ -71,7 +71,7 @@ biosemu_dev_get_addr_info(void)
translate_address_array[taa_index].bus = bus;
translate_address_array[taa_index].devfn = devfn;
translate_address_array[taa_index].cfg_space_offset = 0x30;
- translate_address_array[taa_index].address = bios_device.dev->rom_address;
+ translate_address_array[taa_index].address = bios_device.img_addr;
translate_address_array[taa_index].size = 0; /* TODO: do we need the size? */
/* dont translate addresses... all addresses are 1:1 */
translate_address_array[taa_index].address_offset = 0;