From d34cab9f49bc3ad83a2a968fc2d2719179db2c15 Mon Sep 17 00:00:00 2001 From: ths Date: Mon, 2 Apr 2007 01:10:46 +0000 Subject: VMware SVGA II emulation, by Andrzej Zaborowski. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2579 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/vga_int.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hw/vga_int.h') diff --git a/hw/vga_int.h b/hw/vga_int.h index 633f344c73..e7df0f72bf 100644 --- a/hw/vga_int.h +++ b/hw/vga_int.h @@ -134,6 +134,9 @@ uint32_t cursor_offset; \ unsigned int (*rgb_to_pixel)(unsigned int r, \ unsigned int g, unsigned b); \ + vga_hw_update_ptr update; \ + vga_hw_invalidate_ptr invalidate; \ + vga_hw_screen_dump_ptr screen_dump; \ /* hardware mouse cursor support */ \ uint32_t invalidated_y_table[VGA_MAX_HEIGHT / 32]; \ void (*cursor_invalidate)(struct VGAState *s); \ @@ -157,6 +160,7 @@ static inline int c6_to_8(int v) void vga_common_init(VGAState *s, DisplayState *ds, uint8_t *vga_ram_base, unsigned long vga_ram_offset, int vga_ram_size); +void vga_init(VGAState *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); -- cgit v1.2.3