From 52f5903a27f3bf862aced027dfce4444eed4e2fe Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 28 Sep 2020 12:42:45 +0200 Subject: 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 Reviewed-by: Michael S. Tsirkin Message-id: 20200928104256.9241-2-kraxel@redhat.com --- include/exec/hwaddr.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/exec/hwaddr.h') diff --git a/include/exec/hwaddr.h b/include/exec/hwaddr.h index a71c93c..8f16d17 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 -- cgit v1.1