From 658b2224017b5c5fdc60969fa2f0798781b0cb3f Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Tue, 26 Jul 2011 14:26:08 +0300 Subject: memory: I/O address space support Allow registering I/O ports via the same mechanism as mmio ranges. Reviewed-by: Anthony Liguori Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- memory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'memory.h') diff --git a/memory.h b/memory.h index c481038f2e..88ba428b7c 100644 --- a/memory.h +++ b/memory.h @@ -22,6 +22,7 @@ #include "cpu-common.h" #include "targphys.h" #include "qemu-queue.h" +#include "iorange.h" typedef struct MemoryRegionOps MemoryRegionOps; typedef struct MemoryRegion MemoryRegion; @@ -91,6 +92,7 @@ struct MemoryRegion { target_phys_addr_t offset; bool backend_registered; ram_addr_t ram_addr; + IORange iorange; bool terminates; MemoryRegion *alias; target_phys_addr_t alias_offset; -- cgit v1.2.3