move hw cursor pos from cirrus to vga

This commit is contained in:
Gerd Hoffmann 2014-10-16 10:22:23 +02:00
parent b9fd11b867
commit 22382bb96c
2 changed files with 17 additions and 16 deletions

View file

@ -163,6 +163,8 @@ typedef struct VGACommonState {
bool default_endian_fb;
/* hardware mouse cursor support */
uint32_t invalidated_y_table[VGA_MAX_HEIGHT / 32];
uint32_t hw_cursor_x;
uint32_t hw_cursor_y;
void (*cursor_invalidate)(struct VGACommonState *s);
void (*cursor_draw_line)(struct VGACommonState *s, uint8_t *d, int y);
/* tell for each page if it has been updated since the last time */