summaryrefslogtreecommitdiff
path: root/hw/vga.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-24 18:42:47 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:46:59 -0500
commita4a2f59cda3c88eb647d651e0e0c5f1933b646b3 (patch)
tree114ea42fce8d066b36ceaffeee509fc6e81c9043 /hw/vga.c
parent2191dffcf6ba7df884ac902e829415d55a0b2b68 (diff)
downloadqemu-a4a2f59cda3c88eb647d651e0e0c5f1933b646b3.tar.gz
qemu-a4a2f59cda3c88eb647d651e0e0c5f1933b646b3.tar.bz2
qemu-a4a2f59cda3c88eb647d651e0e0c5f1933b646b3.zip
Everything outside of vga.c should use VGACommonState
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vga.c')
-rw-r--r--hw/vga.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/vga.c b/hw/vga.c
index 912235eb35..6b5070a254 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -149,6 +149,8 @@ static uint32_t expand4[256];
static uint16_t expand2[256];
static uint8_t expand4to8[16];
+typedef VGACommonState VGAState;
+
static void vga_screen_dump(void *opaque, const char *filename);
static char *screen_dump_filename;
static DisplayChangeListener *screen_dump_dcl;
@@ -2256,7 +2258,7 @@ static void vga_map(PCIDevice *pci_dev, int region_num,
}
}
-void vga_common_init(VGAState *s, int vga_ram_size)
+void vga_common_init(VGACommonState *s, int vga_ram_size)
{
int i, j, v, b;