diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-09-15 11:26:56 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-16 09:06:28 -0500 |
commit | 71579cae30b53c910cd6c47ab4e683f647d36519 (patch) | |
tree | 9243b1f287c0a9b49c9ef6ed64f5ecd6d3bbda02 /hw | |
parent | df3f457b4b3a910de575b39bfa11d9a41330077c (diff) | |
download | hqemu-71579cae30b53c910cd6c47ab4e683f647d36519.zip hqemu-71579cae30b53c910cd6c47ab4e683f647d36519.tar.gz |
vga: Respect isa_mem_base when registering chain4 alias
This does not yet unbreak PPC (which has its own problems) but
potentially other non-x86 systems where isa_mem_base is != 0.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/vga.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -181,6 +181,7 @@ static void vga_update_memory_access(VGACommonState *s) size = 0x8000; break; } + base += isa_mem_base; region = g_malloc(sizeof(*region)); memory_region_init_alias(region, "vga.chain4", &s->vram, offset, size); memory_region_add_subregion_overlap(s->legacy_address_space, base, |