mirror of https://github.com/proxmox/mirror_qemu
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.commaster
parent
b150cb8f67
commit
52f5903a27
|
@ -80,11 +80,6 @@ enum {
|
||||||
SBSA_EHCI,
|
SBSA_EHCI,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct MemMapEntry {
|
|
||||||
hwaddr base;
|
|
||||||
hwaddr size;
|
|
||||||
} MemMapEntry;
|
|
||||||
|
|
||||||
struct SBSAMachineState {
|
struct SBSAMachineState {
|
||||||
MachineState parent;
|
MachineState parent;
|
||||||
struct arm_boot_info bootinfo;
|
struct arm_boot_info bootinfo;
|
||||||
|
|
|
@ -18,4 +18,9 @@ typedef uint64_t hwaddr;
|
||||||
#define HWADDR_PRIx PRIx64
|
#define HWADDR_PRIx PRIx64
|
||||||
#define HWADDR_PRIX PRIX64
|
#define HWADDR_PRIX PRIX64
|
||||||
|
|
||||||
|
typedef struct MemMapEntry {
|
||||||
|
hwaddr base;
|
||||||
|
hwaddr size;
|
||||||
|
} MemMapEntry;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -111,11 +111,6 @@ typedef enum VirtGICType {
|
||||||
VIRT_GIC_VERSION_NOSEL,
|
VIRT_GIC_VERSION_NOSEL,
|
||||||
} VirtGICType;
|
} VirtGICType;
|
||||||
|
|
||||||
typedef struct MemMapEntry {
|
|
||||||
hwaddr base;
|
|
||||||
hwaddr size;
|
|
||||||
} MemMapEntry;
|
|
||||||
|
|
||||||
struct VirtMachineClass {
|
struct VirtMachineClass {
|
||||||
MachineClass parent;
|
MachineClass parent;
|
||||||
bool disallow_affinity_adjustment;
|
bool disallow_affinity_adjustment;
|
||||||
|
|
Loading…
Reference in New Issue