diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-08-12 07:23:52 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-08-16 13:31:53 +0200 |
commit | 12e9493df9242a2051701e7eb64175d4e904acba (patch) | |
tree | 3a3246715d70676cda314d3f17dda31d67999f37 /target | |
parent | a27bd6c779badb8d76e4430d810ef710a1b98f4e (diff) | |
download | qemu-12e9493df9242a2051701e7eb64175d4e904acba.zip qemu-12e9493df9242a2051701e7eb64175d4e904acba.tar.gz qemu-12e9493df9242a2051701e7eb64175d4e904acba.tar.bz2 |
Include hw/boards.h a bit less
hw/boards.h pulls in almost 60 headers. The less we include it into
headers, the better. As a first step, drop superfluous inclusions,
and downgrade some more to what's actually needed. Gets rid of just
one inclusion into a header.
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-23-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/alpha/machine.c | 1 | ||||
-rw-r--r-- | target/arm/machine.c | 1 | ||||
-rw-r--r-- | target/arm/monitor.c | 1 | ||||
-rw-r--r-- | target/hppa/machine.c | 1 | ||||
-rw-r--r-- | target/i386/hvf/hvf.c | 1 | ||||
-rw-r--r-- | target/i386/hvf/x86_task.c | 1 | ||||
-rw-r--r-- | target/i386/machine.c | 1 | ||||
-rw-r--r-- | target/i386/whpx-all.c | 1 | ||||
-rw-r--r-- | target/lm32/machine.c | 1 | ||||
-rw-r--r-- | target/moxie/machine.c | 1 | ||||
-rw-r--r-- | target/openrisc/machine.c | 1 | ||||
-rw-r--r-- | target/ppc/machine.c | 1 | ||||
-rw-r--r-- | target/sparc/machine.c | 1 |
13 files changed, 0 insertions, 13 deletions
diff --git a/target/alpha/machine.c b/target/alpha/machine.c index b26ec29..9d20169 100644 --- a/target/alpha/machine.c +++ b/target/alpha/machine.c @@ -1,6 +1,5 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "migration/cpu.h" static int get_fpcr(QEMUFile *f, void *opaque, size_t size, diff --git a/target/arm/machine.c b/target/arm/machine.c index bf2a0a6..5c36707 100644 --- a/target/arm/machine.c +++ b/target/arm/machine.c @@ -1,6 +1,5 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "qemu/error-report.h" #include "sysemu/kvm.h" #include "kvm_arm.h" diff --git a/target/arm/monitor.c b/target/arm/monitor.c index 6ec6dd0..6457c3c 100644 --- a/target/arm/monitor.c +++ b/target/arm/monitor.c @@ -21,7 +21,6 @@ */ #include "qemu/osdep.h" -#include "hw/boards.h" #include "kvm_arm.h" #include "qapi/qapi-commands-misc-target.h" diff --git a/target/hppa/machine.c b/target/hppa/machine.c index 9fb82a5..7030101 100644 --- a/target/hppa/machine.c +++ b/target/hppa/machine.c @@ -19,7 +19,6 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "migration/cpu.h" #if TARGET_REGISTER_BITS == 64 diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c index dc4bb63..6863cf2 100644 --- a/target/i386/hvf/hvf.c +++ b/target/i386/hvf/hvf.c @@ -66,7 +66,6 @@ #include "exec/address-spaces.h" #include "hw/i386/apic_internal.h" -#include "hw/boards.h" #include "qemu/main-loop.h" #include "sysemu/accel.h" #include "sysemu/sysemu.h" diff --git a/target/i386/hvf/x86_task.c b/target/i386/hvf/x86_task.c index 7099335..73cd5d2 100644 --- a/target/i386/hvf/x86_task.c +++ b/target/i386/hvf/x86_task.c @@ -27,7 +27,6 @@ #include <Hypervisor/hv_vmx.h> #include "hw/i386/apic_internal.h" -#include "hw/boards.h" #include "qemu/main-loop.h" #include "sysemu/accel.h" #include "sysemu/sysemu.h" diff --git a/target/i386/machine.c b/target/i386/machine.c index f8c6fee..ce55755 100644 --- a/target/i386/machine.c +++ b/target/i386/machine.c @@ -1,7 +1,6 @@ #include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "migration/cpu.h" diff --git a/target/i386/whpx-all.c b/target/i386/whpx-all.c index 2cf66f7..b57d1c6 100644 --- a/target/i386/whpx-all.c +++ b/target/i386/whpx-all.c @@ -18,7 +18,6 @@ #include "sysemu/sysemu.h" #include "sysemu/cpus.h" #include "qemu/main-loop.h" -#include "hw/boards.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "migration/blocker.h" diff --git a/target/lm32/machine.c b/target/lm32/machine.c index db43ef0..365eaa2 100644 --- a/target/lm32/machine.c +++ b/target/lm32/machine.c @@ -1,6 +1,5 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "migration/cpu.h" static const VMStateDescription vmstate_env = { diff --git a/target/moxie/machine.c b/target/moxie/machine.c index 675272f..d0f1770 100644 --- a/target/moxie/machine.c +++ b/target/moxie/machine.c @@ -1,6 +1,5 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "machine.h" #include "migration/cpu.h" diff --git a/target/openrisc/machine.c b/target/openrisc/machine.c index 99c0470..0a96404 100644 --- a/target/openrisc/machine.c +++ b/target/openrisc/machine.c @@ -19,7 +19,6 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "migration/cpu.h" static const VMStateDescription vmstate_tlb_entry = { diff --git a/target/ppc/machine.c b/target/ppc/machine.c index d6638ee..109d071 100644 --- a/target/ppc/machine.c +++ b/target/ppc/machine.c @@ -1,7 +1,6 @@ #include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "sysemu/kvm.h" #include "helper_regs.h" #include "mmu-hash64.h" diff --git a/target/sparc/machine.c b/target/sparc/machine.c index 7309c27..f38cf22 100644 --- a/target/sparc/machine.c +++ b/target/sparc/machine.c @@ -1,7 +1,6 @@ #include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "qemu/timer.h" #include "migration/cpu.h" |