]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
vga: Rename vga_template.h to vga-helpers.h
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Jun 2014 01:46:06 +0000 (11:46 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Sep 2014 11:34:09 +0000 (13:34 +0200)
It's no longer a template, we only instanciate the file once.

Keep it a #included file so the functions remain static.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
hw/display/vga-helpers.h [moved from hw/display/vga_template.h with 100% similarity]
hw/display/vga.c

index 21aa2c670b7115a6bd9257ccecb299e7f3867e33..9f60f88610ef79dabfcaad41803af6bfdf4a1094 100644 (file)
@@ -1007,7 +1007,7 @@ void vga_mem_writeb(VGACommonState *s, hwaddr addr, uint32_t val)
 typedef void vga_draw_line_func(VGACommonState *s1, uint8_t *d,
                                 const uint8_t *s, int width);
 
-#include "vga_template.h"
+#include "vga-helpers.h"
 
 /* return true if the palette was modified */
 static int update_palette16(VGACommonState *s)