aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-01-24 12:04:42 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-03-13 14:57:12 +0000
commit695bb854e88be20756d5e509e02e28f94528b776 (patch)
tree1bf7073c2396cddceb7263bdb0c77db4cb83f459
parentb4bd0b168e9f4898b98308f4a8a089f647a86d16 (diff)
downloadqemu-arm-695bb854e88be20756d5e509e02e28f94528b776.tar.gz
cirrus_vga: do not reset videoram
There is no need to set the videoram to 0xff in cirrus_reset, because it is the BIOS' job. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Reviewed-by: Avi Kivity <avi@redhat.com>
-rw-r--r--hw/cirrus_vga.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 4edcb94774..afedaa43d3 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -2767,10 +2767,6 @@ static void cirrus_reset(void *opaque)
}
s->vga.cr[0x27] = s->device_id;
- /* Win2K seems to assume that the pattern buffer is at 0xff
- initially ! */
- memset(s->vga.vram_ptr, 0xff, s->real_vram_size);
-
s->cirrus_hidden_dac_lockindex = 5;
s->cirrus_hidden_dac_data = 0;
}