[6382] cirrus: unmap vram on reset (Jan Kiszka)
Revision: 6382
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6382 Author: aliguori Date: 2009-01-21 18:31:05 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
cirrus: unmap vram on reset (Jan Kiszka)
Fix the broken text mode after reset by unmapping potentially mapped vram.
Signed-off-by Jan Kiszka <[email protected]>
Signed-off-by Anthony Liguori <[email protected]>
Modified Paths:
--------------
trunk/hw/cirrus_vga.c
Modified: trunk/hw/cirrus_vga.c
===================================================================
hw/cirrus_vga.c +1 -0
@@ -3169,6 +3169,7 @@CirrusVGAState *s = opaque;vga_reset (s); +unmap_linear_vram (s); s->sr[0x06 ] =0x0f ;if (s->device_id ==CIRRUS_ID_CLGD5446 ) {/* 4MB 64 bit memory config, always PCI */