Commit b421d9c6 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

memory: move core typedefs to qemu/typedefs.h

parent 0bc3cd62
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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
 *
+4 −0
Original line number Diff line number Diff line
@@ -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;
+0 −2
Original line number Diff line number Diff line
@@ -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);