diff options
author | Markus Armbruster | 2019-08-12 07:23:48 +0200 |
---|---|---|
committer | Markus Armbruster | 2019-08-16 13:31:52 +0200 |
commit | 650d103d3ea959212f826acb9d3fe80cf30e347b (patch) | |
tree | d77413eb83368a13ba4dfd0d592997602fa963df /hw/input | |
parent | Include qom/object.h slightly less (diff) | |
download | qemu-650d103d3ea959212f826acb9d3fe80cf30e347b.tar.gz qemu-650d103d3ea959212f826acb9d3fe80cf30e347b.tar.xz qemu-650d103d3ea959212f826acb9d3fe80cf30e347b.zip |
Include hw/hw.h exactly where needed
In my "build everything" tree, changing hw/hw.h triggers a recompile
of some 2600 out of 6600 objects (not counting tests and objects that
don't depend on qemu/osdep.h).
The previous commits have left only the declaration of hw_error() in
hw/hw.h. This permits dropping most of its inclusions. Touching it
now recompiles less than 200 objects.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-19-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/input')
-rw-r--r-- | hw/input/hid.c | 1 | ||||
-rw-r--r-- | hw/input/lm832x.c | 1 | ||||
-rw-r--r-- | hw/input/milkymist-softusb.c | 1 | ||||
-rw-r--r-- | hw/input/pckbd.c | 1 | ||||
-rw-r--r-- | hw/input/ps2.c | 1 | ||||
-rw-r--r-- | hw/input/stellaris_input.c | 1 | ||||
-rw-r--r-- | hw/input/tsc2005.c | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/hw/input/hid.c b/hw/input/hid.c index c570ca25b1..89239b5634 100644 --- a/hw/input/hid.c +++ b/hw/input/hid.c @@ -24,7 +24,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "ui/console.h" #include "qemu/timer.h" #include "hw/input/hid.h" diff --git a/hw/input/lm832x.c b/hw/input/lm832x.c index de03913d7c..a37eb854b9 100644 --- a/hw/input/lm832x.c +++ b/hw/input/lm832x.c @@ -19,7 +19,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/i2c/i2c.h" #include "hw/irq.h" #include "migration/vmstate.h" diff --git a/hw/input/milkymist-softusb.c b/hw/input/milkymist-softusb.c index e17666d56b..8f6fdf2d97 100644 --- a/hw/input/milkymist-softusb.c +++ b/hw/input/milkymist-softusb.c @@ -23,7 +23,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/hw.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "trace.h" diff --git a/hw/input/pckbd.c b/hw/input/pckbd.c index cf1690332d..f2e32a1ed5 100644 --- a/hw/input/pckbd.c +++ b/hw/input/pckbd.c @@ -24,7 +24,6 @@ #include "qemu/osdep.h" #include "qemu/log.h" -#include "hw/hw.h" #include "hw/isa/isa.h" #include "migration/vmstate.h" #include "hw/i386/pc.h" diff --git a/hw/input/ps2.c b/hw/input/ps2.c index 07d07ee6bd..68b30229f4 100644 --- a/hw/input/ps2.c +++ b/hw/input/ps2.c @@ -24,7 +24,6 @@ #include "qemu/osdep.h" #include "qemu/log.h" -#include "hw/hw.h" #include "hw/input/ps2.h" #include "migration/vmstate.h" #include "ui/console.h" diff --git a/hw/input/stellaris_input.c b/hw/input/stellaris_input.c index 7582117f0b..59892b07fc 100644 --- a/hw/input/stellaris_input.c +++ b/hw/input/stellaris_input.c @@ -8,7 +8,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/input/gamepad.h" #include "hw/irq.h" #include "migration/vmstate.h" diff --git a/hw/input/tsc2005.c b/hw/input/tsc2005.c index b92a034496..55d61cc843 100644 --- a/hw/input/tsc2005.c +++ b/hw/input/tsc2005.c @@ -20,7 +20,6 @@ #include "qemu/osdep.h" #include "qemu/log.h" -#include "hw/hw.h" #include "qemu/timer.h" #include "sysemu/reset.h" #include "ui/console.h" |