]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commitdiff
memory: Add MemoryListener to typedefs.h
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 21 Nov 2013 17:36:42 +0000 (18:36 +0100)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Tue, 11 Feb 2014 12:56:31 +0000 (22:56 +1000)
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
include/exec/memory.h
include/qemu/typedefs.h

index 296d6ab2f481993aad79f1c78f757ca0bd7d1d8c..9101fc3a55a4e87d6bf6e7edc80004295f064e0b 100644 (file)
@@ -163,8 +163,6 @@ struct MemoryRegion {
     NotifierList iommu_notify;
 };
 
-typedef struct MemoryListener MemoryListener;
-
 /**
  * MemoryListener: callbacks structure for updates to the physical memory map
  *
index 45244960b59d7c67d48b88179499ea554a78fb5f..5b4e333fc137def1bf604985587bcc115b3e967f 100644 (file)
@@ -26,6 +26,7 @@ typedef struct BusClass BusClass;
 typedef struct AddressSpace AddressSpace;
 typedef struct MemoryRegion MemoryRegion;
 typedef struct MemoryRegionSection MemoryRegionSection;
+typedef struct MemoryListener MemoryListener;
 
 typedef struct MemoryMappingList MemoryMappingList;