Commit 7cff316ed97f62288d2667f53d365813e6b8b3f8
1 parent
fefe54e3
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
Showing
1 changed file
with
2 additions
and
2 deletions
hw/cirrus_vga.c
... | ... | @@ -2652,8 +2652,8 @@ static void map_linear_vram(CirrusVGAState *s) |
2652 | 2652 | s->lfb_vram_mapped = 1; |
2653 | 2653 | } |
2654 | 2654 | else { |
2655 | - cpu_register_physical_memory(isa_mem_base + 0xa0000, 0x8000, s->vga_io_memory); | |
2656 | - cpu_register_physical_memory(isa_mem_base + 0xa8000, 0x8000, s->vga_io_memory); | |
2655 | + cpu_register_physical_memory(isa_mem_base + 0xa0000, 0x20000, | |
2656 | + s->vga_io_memory); | |
2657 | 2657 | } |
2658 | 2658 | |
2659 | 2659 | vga_dirty_log_start((VGAState *)s); | ... | ... |