aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-31 16:07:17 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-09 14:55:11 -0500
commitf97e36b9d60d58eed80bcb27c6e47216145a71da (patch)
treee1e5ae9ef524b52e3f43863e21db89b820dd3d65
parent76323919dfe746049a2bfc204ad1937eb8c60ab2 (diff)
downloadqemu-f97e36b9d60d58eed80bcb27c6e47216145a71da.zip
qemu-f97e36b9d60d58eed80bcb27c6e47216145a71da.tar.gz
qemu-f97e36b9d60d58eed80bcb27c6e47216145a71da.tar.bz2
vga: export vga_mem_{read,write}
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--hw/vga.c4
-rw-r--r--hw/vga_int.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/hw/vga.c b/hw/vga.c
index 8b926b0..06ae2ae 100644
--- 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,
diff --git a/hw/vga_int.h b/hw/vga_int.h
index 54b3d5a..ed88595 100644
--- a/hw/vga_int.h
+++ b/hw/vga_int.h
@@ -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];