aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga-isa.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2015-02-01 09:12:56 +0100
committerLeon Alrae <leon.alrae@imgtec.com>2015-02-13 14:09:28 +0000
commitb19c1c08de4365df90207862f4f9f7c1cd512bd9 (patch)
treee7cc505166184cf96c0bbb295ba43c543e6c7533 /hw/display/vga-isa.c
parentf720f20350cfdf7e9d267947238cd2e5acee53f3 (diff)
downloadqemu-b19c1c08de4365df90207862f4f9f7c1cd512bd9.zip
qemu-b19c1c08de4365df90207862f4f9f7c1cd512bd9.tar.gz
qemu-b19c1c08de4365df90207862f4f9f7c1cd512bd9.tar.bz2
isa: remove isa_mem_base variable
Now that isa_mem_base variable is always 0, we can remove its usage. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'hw/display/vga-isa.c')
-rw-r--r--hw/display/vga-isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga-isa.c b/hw/display/vga-isa.c
index 2b480bd..7f3c989 100644
--- a/hw/display/vga-isa.c
+++ b/hw/display/vga-isa.c
@@ -64,7 +64,7 @@ static void vga_isa_realizefn(DeviceState *dev, Error **errp)
isa_register_portio_list(isadev, 0x1ce, vbe_ports, s, "vbe");
}
memory_region_add_subregion_overlap(isa_address_space(isadev),
- isa_mem_base + 0x000a0000,
+ 0x000a0000,
vga_io_memory, 1);
memory_region_set_coalescing(vga_io_memory);
s->con = graphic_console_init(DEVICE(dev), 0, s->hw_ops, s);