[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/12] memory: move core typedefs to qemu/typedefs.h
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 09/12] memory: move core typedefs to qemu/typedefs.h |
Date: |
Thu, 11 Apr 2013 18:10:30 +0200 |
Signed-off-by: Paolo Bonzini <address@hidden>
---
include/exec/memory.h | 5 -----
include/qemu/typedefs.h | 4 ++++
target-ppc/kvm_ppc.h | 2 --
3 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 2322732..9e88320 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -27,7 +27,6 @@
#include "qemu/int128.h"
typedef struct MemoryRegionOps MemoryRegionOps;
-typedef struct MemoryRegion MemoryRegion;
typedef struct MemoryRegionPortio MemoryRegionPortio;
typedef struct MemoryRegionMmio MemoryRegionMmio;
@@ -157,8 +156,6 @@ struct MemoryRegionPortio {
#define PORTIO_END_OF_LIST() { }
-typedef struct AddressSpace AddressSpace;
-
/**
* AddressSpace: describes a mapping of addresses to #MemoryRegion objects
*/
@@ -173,8 +170,6 @@ struct AddressSpace {
QTAILQ_ENTRY(AddressSpace) address_spaces_link;
};
-typedef struct MemoryRegionSection MemoryRegionSection;
-
/**
* MemoryRegionSection: describes a fragment of a #MemoryRegion
*
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
index fd532a2..93aae81 100644
--- a/include/qemu/typedefs.h
+++ b/include/qemu/typedefs.h
@@ -18,6 +18,10 @@ typedef struct DeviceState DeviceState;
typedef struct BusState BusState;
typedef struct BusClass BusClass;
+typedef struct AddressSpace AddressSpace;
+typedef struct MemoryRegion MemoryRegion;
+typedef struct MemoryRegionSection MemoryRegionSection;
+
typedef struct NICInfo NICInfo;
typedef struct HCIInfo HCIInfo;
typedef struct AudioState AudioState;
diff --git a/target-ppc/kvm_ppc.h b/target-ppc/kvm_ppc.h
index c30b006..6bcc5cc 100644
--- a/target-ppc/kvm_ppc.h
+++ b/target-ppc/kvm_ppc.h
@@ -9,8 +9,6 @@
#ifndef __KVM_PPC_H__
#define __KVM_PPC_H__
-#include "exec/memory.h"
-
#define TYPE_HOST_POWERPC_CPU "host-" TYPE_POWERPC_CPU
void kvmppc_init(void);
--
1.8.1.4
- [Qemu-devel] [PATCH 00/12] directory reorganization, final part, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 02/12] virtio-9p: Fix virtio-9p no longer building after hw-dirs branch merge, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 03/12] Add linux-headers to QEMU_INCLUDES, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 04/12] Fix failure to create q35 machine, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 01/12] arm: fix location of some include files, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 05/12] configure: fix TPM logic, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 08/12] include: avoid useless includes of exec/ headers, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 06/12] tpm: reorganize headers and split hardware part, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 10/12] exec: remove useless declarations from memory-internal.h, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 09/12] memory: move core typedefs to qemu/typedefs.h,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 07/12] sysemu: avoid proliferation of include/ subdirectories, Paolo Bonzini, 2013/04/11
- [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core, Paolo Bonzini, 2013/04/11
- Re: [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core, Peter Maydell, 2013/04/11
- Re: [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core, Michael S. Tsirkin, 2013/04/11
- Re: [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core, Paolo Bonzini, 2013/04/11
- Re: [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core, Peter Maydell, 2013/04/11
- Re: [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core, Paolo Bonzini, 2013/04/11
- Re: [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core, Michael S. Tsirkin, 2013/04/11
[Qemu-devel] [PATCH 11/12] hw: move memory API headers to hw/, Paolo Bonzini, 2013/04/11
Re: [Qemu-devel] [PATCH 00/12] directory reorganization, final part, Anthony Liguori, 2013/04/15