mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 14:00:44 +00:00
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
This commit is contained in:
parent
fefe54e3f0
commit
7cff316ed9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user