diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-24 18:42:47 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:46:59 -0500 |
commit | a4a2f59cda3c88eb647d651e0e0c5f1933b646b3 (patch) | |
tree | 114ea42fce8d066b36ceaffeee509fc6e81c9043 /hw/vga.c | |
parent | 2191dffcf6ba7df884ac902e829415d55a0b2b68 (diff) | |
download | qemu-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |