aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-04-30 18:37:55 +0100
committerPaul Brook <paul@codesourcery.com>2009-04-30 18:39:07 +0100
commit0b4e6e3e788ec1fdf95c405191981b10b26c4bd1 (patch)
treee72f951dbf0e92d6f3e28c2569a5fc9ec4ec9282 /exec.c
parentRemove vga LFB accessor hacks. (diff)
downloadqemu-kvm-0b4e6e3e788ec1fdf95c405191981b10b26c4bd1.tar.gz
qemu-kvm-0b4e6e3e788ec1fdf95c405191981b10b26c4bd1.tar.bz2
qemu-kvm-0b4e6e3e788ec1fdf95c405191981b10b26c4bd1.zip
Remove cpu_get_io_memory_{read,write}.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/exec.c b/exec.c
index 23013fbd1..2effd04f6 100644
--- a/exec.c
+++ b/exec.c
@@ -3016,8 +3016,7 @@ static void io_mem_init(void)
/* mem_read and mem_write are arrays of functions containing the
function to access byte (index 0), word (index 1) and dword (index
- 2). Functions can be omitted with a NULL function pointer. The
- registered functions may be modified dynamically later.
+ 2). Functions can be omitted with a NULL function pointer.
If io_index is non zero, the corresponding io zone is
modified. If it is zero, a new io zone is allocated. The return
value can be used with cpu_register_physical_memory(). (-1) is
@@ -3061,16 +3060,6 @@ void cpu_unregister_io_memory(int io_table_address)
io_mem_used[io_index] = 0;
}
-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];
-}
-
#endif /* !defined(CONFIG_USER_ONLY) */
/* physical memory access (slow version, mainly for debug) */