aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-10 15:14:20 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-10 15:14:20 +0000
commit8926b517e9ebe20a4348f445e9d0c7f11029eb57 (patch)
tree0aa17ed0f6eefdd0d6904006f5003168be965b26 /exec.c
parent6d46bf8ae368937ef65187623be9831a4ad0b1b4 (diff)
downloadqemu-8926b517e9ebe20a4348f445e9d0c7f11029eb57.zip
qemu-8926b517e9ebe20a4348f445e9d0c7f11029eb57.tar.gz
qemu-8926b517e9ebe20a4348f445e9d0c7f11029eb57.tar.bz2
faster Cirrus VGA VRAM access
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1114 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 95883be..5f2a87c 100644
--- a/exec.c
+++ b/exec.c
@@ -1977,6 +1977,16 @@ int cpu_register_io_memory(int io_index,
return io_index << IO_MEM_SHIFT;
}
+CPUWriteMemoryFunc **cpu_get_io_memory_write(int io_index)
+{
+ return io_mem_write[io_index >> IO_MEM_SHIFT];
+}
+
+CPUReadMemoryFunc **cpu_get_io_memory_read(int io_index)
+{
+ return io_mem_read[io_index >> IO_MEM_SHIFT];
+}
+
/* physical memory access (slow version, mainly for debug) */
#if defined(CONFIG_USER_ONLY)
void cpu_physical_memory_rw(target_phys_addr_t addr, uint8_t *buf,