diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-10-10 15:14:20 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-10-10 15:14:20 +0000 |
commit | 8926b517e9ebe20a4348f445e9d0c7f11029eb57 (patch) | |
tree | 0aa17ed0f6eefdd0d6904006f5003168be965b26 /exec.c | |
parent | 6d46bf8ae368937ef65187623be9831a4ad0b1b4 (diff) | |
download | hqemu-8926b517e9ebe20a4348f445e9d0c7f11029eb57.zip hqemu-8926b517e9ebe20a4348f445e9d0c7f11029eb57.tar.gz |
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.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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, |