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> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6382 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
93a0dba7ea
commit
ee50c6bc61
@ -3169,6 +3169,7 @@ static void cirrus_reset(void *opaque)
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user