* [Qemu-devel] [6382] cirrus: unmap vram on reset (Jan Kiszka)
@ 2009-01-21 18:31 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-01-21 18:31 UTC (permalink / raw)
To: qemu-devel
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 <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
trunk/hw/cirrus_vga.c
Modified: trunk/hw/cirrus_vga.c
===================================================================
--- trunk/hw/cirrus_vga.c 2009-01-21 18:13:16 UTC (rev 6381)
+++ trunk/hw/cirrus_vga.c 2009-01-21 18:31:05 UTC (rev 6382)
@@ -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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-21 18:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 18:31 [Qemu-devel] [6382] cirrus: unmap vram on reset (Jan Kiszka) Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).