aboutsummaryrefslogtreecommitdiff
path: root/exec-memory.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-08-08 16:09:03 +0300
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-08 10:15:53 -0500
commit309cb471c80e5909710d1ee3c3b50d481496d189 (patch)
tree6bedfa86adb8acd8377414b368c381a21a210c34 /exec-memory.h
parent899adf8149c675c2ca0db870da6f00748ee53d59 (diff)
Integrate I/O memory regions into qemu
get_system_io() returns the root I/O memory region. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'exec-memory.h')
-rw-r--r--exec-memory.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/exec-memory.h b/exec-memory.h
index c439aba3d1..334219fe23 100644
--- a/exec-memory.h
+++ b/exec-memory.h
@@ -28,6 +28,11 @@
*/
MemoryRegion *get_system_memory(void);
+/* Get the root I/O port region. This interface should only be used
+ * temporarily until a proper bus interface is available.
+ */
+MemoryRegion *get_system_io(void);
+
/* Set the root memory region. This region is the system memory map. */
void set_system_memory_map(MemoryRegion *mr);