summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-11 15:20:58 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-11 15:20:58 +0000
commit8871565764495cfe873b781f52e0d39ecbc3ddf6 (patch)
tree7419c2d20ea9b7353b39ec7f074893acf3dfe602 /cpu-all.h
parentqemu: add net_client_uninit / qemu_find_vlan_client (Marcelo Tosatti) (diff)
downloadqemu-kvm-8871565764495cfe873b781f52e0d39ecbc3ddf6.tar.gz
qemu-kvm-8871565764495cfe873b781f52e0d39ecbc3ddf6.tar.bz2
qemu-kvm-8871565764495cfe873b781f52e0d39ecbc3ddf6.zip
qemu: add cpu_unregister_io_memory and make io mem table index dynamic (Marcelo Tosatti)
So drivers can clear their mem io table entries on exit back to unassigned state. Also make the io mem index allocation dynamic. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6601 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 56a768add..e0c3efd55 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -909,6 +909,7 @@ int cpu_register_io_memory(int io_index,
CPUReadMemoryFunc **mem_read,
CPUWriteMemoryFunc **mem_write,
void *opaque);
+void cpu_unregister_io_memory(int table_address);
CPUWriteMemoryFunc **cpu_get_io_memory_write(int io_index);
CPUReadMemoryFunc **cpu_get_io_memory_read(int io_index);