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_int.h | |
parent | 2191dffcf6ba7df884ac902e829415d55a0b2b68 (diff) | |
download | qemu-a4a2f59cda3c88eb647d651e0e0c5f1933b646b3.zip qemu-a4a2f59cda3c88eb647d651e0e0c5f1933b646b3.tar.gz qemu-a4a2f59cda3c88eb647d651e0e0c5f1933b646b3.tar.bz2 |
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_int.h')
-rw-r--r-- | hw/vga_int.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/hw/vga_int.h b/hw/vga_int.h index bb28872..eb837ff 100644 --- a/hw/vga_int.h +++ b/hw/vga_int.h @@ -180,8 +180,6 @@ typedef struct VGACommonState { union vga_retrace retrace_info; } VGACommonState; -typedef VGACommonState VGAState; - static inline int c6_to_8(int v) { int b; @@ -190,15 +188,15 @@ static inline int c6_to_8(int v) return (v << 2) | (b << 1) | b; } -void vga_common_init(VGAState *s, int vga_ram_size); -void vga_init(VGAState *s); +void vga_common_init(VGACommonState *s, int vga_ram_size); +void vga_init(VGACommonState *s); void vga_common_reset(VGACommonState *s); -void vga_dirty_log_start(VGAState *s); +void vga_dirty_log_start(VGACommonState *s); uint32_t vga_mem_readb(void *opaque, target_phys_addr_t addr); void vga_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_t val); -void vga_invalidate_scanlines(VGAState *s, int y1, int y2); +void vga_invalidate_scanlines(VGACommonState *s, int y1, int y2); int ppm_save(const char *filename, struct DisplaySurface *ds); void vga_draw_cursor_line_8(uint8_t *d1, const uint8_t *src1, |