mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
Include qemu-common.h exactly where needed
No header includes qemu-common.h after this commit, as prescribed by qemu-common.h's file comment. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190523143508.25387-5-armbru@redhat.com> [Rebased with conflicts resolved automatically, except for include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and net/tap-bsd.c fixed up]
This commit is contained in:
parent
0b8fa32f55
commit
a8d2532645
485 changed files with 103 additions and 397 deletions
|
@ -21,7 +21,6 @@
|
|||
#ifndef QEMU_MSI_H
|
||||
#define QEMU_MSI_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "hw/pci/pci.h"
|
||||
|
||||
struct MSIMessage {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef QEMU_MSIX_H
|
||||
#define QEMU_MSIX_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "hw/pci/pci.h"
|
||||
|
||||
#define MSIX_CAP_LENGTH 12
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef SHPC_H
|
||||
#define SHPC_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "exec/memory.h"
|
||||
#include "hw/hotplug.h"
|
||||
#include "hw/pci/pci.h"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef PCI_SLOTID_CAP_H
|
||||
#define PCI_SLOTID_CAP_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
int slotid_cap_init(PCIDevice *dev, int nslots,
|
||||
uint8_t chassis,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue