]> git.proxmox.com Git - mirror_qemu.git/commitdiff
vga: export vga_mem_{read,write}
authorJuan Quintela <quintela@redhat.com>
Mon, 31 Aug 2009 14:07:17 +0000 (16:07 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 9 Sep 2009 19:55:11 +0000 (14:55 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/vga.c
hw/vga_int.h

index 8b926b08e82c6a649c177b87c8efe953058cba38..06ae2ae7effe4fb6658fcea7946142ac0fa1b28d 100644 (file)
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -2113,13 +2113,13 @@ static void vga_update_text(void *opaque, console_ch_t *chardata)
     dpy_update(s->ds, 0, 0, s->last_width, height);
 }
 
-static CPUReadMemoryFunc * const vga_mem_read[3] = {
+CPUReadMemoryFunc * const vga_mem_read[3] = {
     vga_mem_readb,
     vga_mem_readw,
     vga_mem_readl,
 };
 
-static CPUWriteMemoryFunc * const vga_mem_write[3] = {
+CPUWriteMemoryFunc * const vga_mem_write[3] = {
     vga_mem_writeb,
     vga_mem_writew,
     vga_mem_writel,
index 54b3d5aa9ab24f9c1e256e66e1856f3c8f3713ad..ed88595832db6ab0daa2459774a625fb8fcb9a85 100644 (file)
@@ -220,3 +220,5 @@ extern const uint8_t gr_mask[16];
 
 #define VGA_RAM_SIZE (8192 * 1024)
 
+extern CPUReadMemoryFunc * const vga_mem_read[3];
+extern CPUWriteMemoryFunc * const vga_mem_write[3];