aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-09-17 13:14:40 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-09-19 10:37:46 +0200
commit145e543eb3c9564e13b821869693bc977c409a0b (patch)
treed88f7ab68c869c08067e6e56cd1278d3e2340f9d /hw/display/vga.c
parentf8c3db33a5e863291182f8862ddf81618a7c6194 (diff)
downloadqemu-145e543eb3c9564e13b821869693bc977c409a0b.zip
qemu-145e543eb3c9564e13b821869693bc977c409a0b.tar.gz
qemu-145e543eb3c9564e13b821869693bc977c409a0b.tar.bz2
vga: move access helpers to separate include file
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190917111441.27405-2-kraxel@redhat.com
Diffstat (limited to 'hw/display/vga.c')
-rw-r--r--hw/display/vga.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/vga.c b/hw/display/vga.c
index 573d223..82ebe53 100644
--- a/hw/display/vga.c
+++ b/hw/display/vga.c
@@ -1009,6 +1009,7 @@ void vga_mem_writeb(VGACommonState *s, hwaddr addr, uint32_t val)
typedef void vga_draw_line_func(VGACommonState *s1, uint8_t *d,
uint32_t srcaddr, int width);
+#include "vga-access.h"
#include "vga-helpers.h"
/* return true if the palette was modified */