diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-02 01:10:46 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-02 01:10:46 +0000 |
commit | d34cab9f49bc3ad83a2a968fc2d2719179db2c15 (patch) | |
tree | dee22397a6ebed7b22df70d95ee2730ef8a77b28 /hw/vga_int.h | |
parent | a4080ece74523492856ac67e709a10675b080da0 (diff) | |
download | qemu-d34cab9f49bc3ad83a2a968fc2d2719179db2c15.tar.gz qemu-d34cab9f49bc3ad83a2a968fc2d2719179db2c15.tar.bz2 qemu-d34cab9f49bc3ad83a2a968fc2d2719179db2c15.zip |
VMware SVGA II emulation, by Andrzej Zaborowski.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2579 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/vga_int.h')
-rw-r--r-- | hw/vga_int.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |