aboutsummaryrefslogtreecommitdiff
path: root/exec-memory.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-10-02 20:13:51 +0200
committerAvi Kivity <avi@redhat.com>2012-10-22 14:50:07 +0200
commitf6790af6bcfa35fa9ea3c565a0a2aed54337aef5 (patch)
treea26b7a7c52d483f083c7672af26e62f774e1b706 /exec-memory.h
parent1d71148eace669827ba15101819b54b20fcca616 (diff)
memory: use AddressSpace for MemoryListener filtering
Using the AddressSpace type reduces confusion, as you can't accidentally supply the MemoryRegion you're interested in. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'exec-memory.h')
-rw-r--r--exec-memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/exec-memory.h b/exec-memory.h
index 6707e40b2f..ac1d07dfe4 100644
--- a/exec-memory.h
+++ b/exec-memory.h
@@ -33,6 +33,9 @@ MemoryRegion *get_system_memory(void);
*/
MemoryRegion *get_system_io(void);
+extern AddressSpace address_space_memory;
+extern AddressSpace address_space_io;
+
#endif
#endif