]> git.proxmox.com Git - mirror_qemu.git/blame - include/qemu/typedefs.h
memory-device: avoid overflows on very huge devices
[mirror_qemu.git] / include / qemu / typedefs.h
CommitLineData
394e1bb7
EH
1#ifndef QEMU_TYPEDEFS_H
2#define QEMU_TYPEDEFS_H
3
4/* A load of opaque types so that device init declarations don't have to
5 pull in all the real definitions. */
394e1bb7 6
64baadc2
DDAG
7/* Please keep this list in alphabetical order */
8typedef struct AdapterInfo AdapterInfo;
b421d9c6 9typedef struct AddressSpace AddressSpace;
64baadc2 10typedef struct AioContext AioContext;
377e2145 11typedef struct AllwinnerAHCIState AllwinnerAHCIState;
394e1bb7 12typedef struct AudioState AudioState;
9a3f5cf1 13typedef struct BdrvDirtyBitmap BdrvDirtyBitmap;
dc162c8e 14typedef struct BdrvDirtyBitmapIter BdrvDirtyBitmapIter;
26f54e9a 15typedef struct BlockBackend BlockBackend;
281d22d8 16typedef struct BlockBackendRootState BlockBackendRootState;
394e1bb7 17typedef struct BlockDriverState BlockDriverState;
64baadc2
DDAG
18typedef struct BusClass BusClass;
19typedef struct BusState BusState;
0ec7b3e7 20typedef struct Chardev Chardev;
64baadc2 21typedef struct CompatProperty CompatProperty;
e70372fc 22typedef struct CoMutex CoMutex;
32857f4d 23typedef struct CPUAddressSpace CPUAddressSpace;
b23197f9 24typedef struct CPUState CPUState;
707ff800 25typedef struct DeviceListener DeviceListener;
2988cbea 26typedef struct DeviceState DeviceState;
8deaf12c 27typedef struct DirtyBitmapSnapshot DirtyBitmapSnapshot;
394e1bb7 28typedef struct DisplayChangeListener DisplayChangeListener;
64baadc2 29typedef struct DisplayState DisplayState;
394e1bb7 30typedef struct DisplaySurface DisplaySurface;
64baadc2 31typedef struct DriveInfo DriveInfo;
da34e65c 32typedef struct Error Error;
64baadc2 33typedef struct EventNotifier EventNotifier;
02d9651d 34typedef struct FlatView FlatView;
39736e18 35typedef struct FWCfgEntry FWCfgEntry;
5712db6a
LE
36typedef struct FWCfgIoState FWCfgIoState;
37typedef struct FWCfgMemState FWCfgMemState;
64baadc2
DDAG
38typedef struct FWCfgState FWCfgState;
39typedef struct HCIInfo HCIInfo;
c97d6d2c 40typedef struct HVFX86EmulatorState HVFX86EmulatorState;
a5c82852 41typedef struct I2CBus I2CBus;
64baadc2 42typedef struct I2SCodec I2SCodec;
394e1bb7
EH
43typedef struct ISABus ISABus;
44typedef struct ISADevice ISADevice;
5484f30b 45typedef struct IsaDma IsaDma;
64baadc2
DDAG
46typedef struct MACAddr MACAddr;
47typedef struct MachineClass MachineClass;
48typedef struct MachineState MachineState;
49typedef struct MemoryListener MemoryListener;
50typedef struct MemoryMappingList MemoryMappingList;
51typedef struct MemoryRegion MemoryRegion;
3df9d748 52typedef struct IOMMUMemoryRegion IOMMUMemoryRegion;
1f4e496e 53typedef struct MemoryRegionCache MemoryRegionCache;
64baadc2 54typedef struct MemoryRegionSection MemoryRegionSection;
bca7856a 55typedef struct MigrationIncomingState MigrationIncomingState;
aefeb18b 56typedef struct MigrationState MigrationState;
64baadc2 57typedef struct Monitor Monitor;
2988cbea 58typedef struct MonitorDef MonitorDef;
64baadc2
DDAG
59typedef struct MouseTransformInfo MouseTransformInfo;
60typedef struct MSIMessage MSIMessage;
61typedef struct NetClientState NetClientState;
fdccce45 62typedef struct NetFilterState NetFilterState;
64baadc2 63typedef struct NICInfo NICInfo;
31959e82 64typedef struct NumaNodeMem NumaNodeMem;
64baadc2 65typedef struct PCIBridge PCIBridge;
394e1bb7
EH
66typedef struct PCIBus PCIBus;
67typedef struct PCIDevice PCIDevice;
394e1bb7 68typedef struct PCIEAERErr PCIEAERErr;
64baadc2
DDAG
69typedef struct PCIEAERLog PCIEAERLog;
70typedef struct PCIEAERMsg PCIEAERMsg;
394e1bb7
EH
71typedef struct PCIEPort PCIEPort;
72typedef struct PCIESlot PCIESlot;
64baadc2
DDAG
73typedef struct PCIExpressDevice PCIExpressDevice;
74typedef struct PCIExpressHost PCIExpressHost;
a7c4d9c7 75typedef struct PCIHostDeviceAddress PCIHostDeviceAddress;
64baadc2 76typedef struct PCIHostState PCIHostState;
8170dfa0 77typedef struct PCMachineClass PCMachineClass;
2988cbea 78typedef struct PCMachineState PCMachineState;
394e1bb7 79typedef struct PCMCIACardState PCMCIACardState;
64baadc2 80typedef struct PixelFormat PixelFormat;
e0b266f0 81typedef struct PostcopyDiscardState PostcopyDiscardState;
64baadc2 82typedef struct Property Property;
2988cbea 83typedef struct PropertyInfo PropertyInfo;
8498bb8d 84typedef struct PS2State PS2State;
64baadc2
DDAG
85typedef struct QEMUBH QEMUBH;
86typedef struct QemuConsole QemuConsole;
4133fa71 87typedef struct QemuDmaBuf QemuDmaBuf;
64baadc2 88typedef struct QEMUFile QEMUFile;
e70372fc
PB
89typedef struct QemuLockable QemuLockable;
90typedef struct QemuMutex QemuMutex;
ae1e9380
PD
91typedef struct QemuOpt QemuOpt;
92typedef struct QemuOpts QemuOpts;
93typedef struct QemuOptsList QemuOptsList;
e70372fc 94typedef struct QemuSpin QemuSpin;
394e1bb7 95typedef struct QEMUSGList QEMUSGList;
64baadc2 96typedef struct QEMUTimer QEMUTimer;
2988cbea 97typedef struct QEMUTimerListGroup QEMUTimerListGroup;
9f5c734d
MA
98typedef struct QBool QBool;
99typedef struct QDict QDict;
ea134caa 100typedef struct QJSON QJSON;
9f5c734d 101typedef struct QList QList;
4d2d5c41 102typedef struct QNull QNull;
9f5c734d
MA
103typedef struct QNum QNum;
104typedef struct QObject QObject;
105typedef struct QString QString;
422148d3 106typedef struct RAMBlock RAMBlock;
2988cbea 107typedef struct Range Range;
64baadc2
DDAG
108typedef struct SerialState SerialState;
109typedef struct SHPCDevice SHPCDevice;
110typedef struct SMBusDevice SMBusDevice;
111typedef struct SSIBus SSIBus;
112typedef struct uWireSlave uWireSlave;
113typedef struct VirtIODevice VirtIODevice;
114typedef struct Visitor Visitor;
3bfe5716 115typedef struct node_info NodeInfo;
68a4a2fd
JQ
116typedef void SaveStateHandler(QEMUFile *f, void *opaque);
117typedef int LoadStateHandler(QEMUFile *f, void *opaque, int version_id);
394e1bb7
EH
118
119#endif /* QEMU_TYPEDEFS_H */