summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorGerd Hoffmann2020-09-28 12:42:45 +0200
committerGerd Hoffmann2020-09-30 11:29:56 +0200
commit52f5903a27f3bf862aced027dfce4444eed4e2fe (patch)
tree902167b3baf930761c5ff3933f1f022d3b4da1ca /include/exec
parentMerge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff)
downloadqemu-52f5903a27f3bf862aced027dfce4444eed4e2fe.tar.gz
qemu-52f5903a27f3bf862aced027dfce4444eed4e2fe.tar.xz
qemu-52f5903a27f3bf862aced027dfce4444eed4e2fe.zip
move MemMapEntry
It is defined twice already. Move to a common header file to remove duplication and make it available to everybody. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-id: 20200928104256.9241-2-kraxel@redhat.com
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/hwaddr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/exec/hwaddr.h b/include/exec/hwaddr.h
index a71c93cc81..8f16d179a8 100644
--- a/include/exec/hwaddr.h
+++ b/include/exec/hwaddr.h
@@ -18,4 +18,9 @@ typedef uint64_t hwaddr;
#define HWADDR_PRIx PRIx64
#define HWADDR_PRIX PRIX64
+typedef struct MemMapEntry {
+ hwaddr base;
+ hwaddr size;
+} MemMapEntry;
+
#endif