diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-21 18:31:42 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-21 18:31:42 +0000 |
commit | 7cff316ed97f62288d2667f53d365813e6b8b3f8 (patch) | |
tree | 9f5caff86c697135c223cb94f71e99db558497d9 /hw/cirrus_vga.c | |
parent | fefe54e3f0ea9c5b292b7a7875b1c9809f492b35 (diff) |
cirrus: unify unmapping of vram (Jan Kiszka)
Switc vram unmapping in map_linear_vram to the simpler pattern used by
unmap_linear_vram.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6386 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/cirrus_vga.c')
-rw-r--r-- | hw/cirrus_vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 0ded8981fa..8f93911833 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -2652,8 +2652,8 @@ static void map_linear_vram(CirrusVGAState *s) s->lfb_vram_mapped = 1; } else { - cpu_register_physical_memory(isa_mem_base + 0xa0000, 0x8000, s->vga_io_memory); - cpu_register_physical_memory(isa_mem_base + 0xa8000, 0x8000, s->vga_io_memory); + cpu_register_physical_memory(isa_mem_base + 0xa0000, 0x20000, + s->vga_io_memory); } vga_dirty_log_start((VGAState *)s); |