From a4a2f59cda3c88eb647d651e0e0c5f1933b646b3 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 24 Aug 2009 18:42:47 +0200 Subject: Everything outside of vga.c should use VGACommonState Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- hw/vga.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hw/vga.c') diff --git a/hw/vga.c b/hw/vga.c index 912235e..6b5070a 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; -- cgit v1.1