diff options
Diffstat (limited to 'hw/misc')
68 files changed, 78 insertions, 0 deletions
diff --git a/hw/misc/a9scu.c b/hw/misc/a9scu.c index 3e8ad8cd73..4307f0082b 100644 --- a/hw/misc/a9scu.c +++ b/hw/misc/a9scu.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "hw/misc/a9scu.h" +#include "qemu/module.h" static uint64_t a9_scu_read(void *opaque, hwaddr offset, unsigned size) diff --git a/hw/misc/applesmc.c b/hw/misc/applesmc.c index 7be8b5f13c..2d7eb3c7e2 100644 --- a/hw/misc/applesmc.c +++ b/hw/misc/applesmc.c @@ -34,6 +34,7 @@ #include "hw/hw.h" #include "hw/isa/isa.h" #include "ui/console.h" +#include "qemu/module.h" #include "qemu/timer.h" /* #define DEBUG_SMC */ diff --git a/hw/misc/arm11scu.c b/hw/misc/arm11scu.c index 7042ce11e8..84275df885 100644 --- a/hw/misc/arm11scu.c +++ b/hw/misc/arm11scu.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "hw/misc/arm11scu.h" #include "qemu/log.h" +#include "qemu/module.h" static uint64_t mpcore_scu_read(void *opaque, hwaddr offset, unsigned size) diff --git a/hw/misc/arm_integrator_debug.c b/hw/misc/arm_integrator_debug.c index 533e6e3208..2646107b97 100644 --- a/hw/misc/arm_integrator_debug.c +++ b/hw/misc/arm_integrator_debug.c @@ -19,6 +19,7 @@ #include "hw/sysbus.h" #include "hw/misc/arm_integrator_debug.h" #include "qemu/log.h" +#include "qemu/module.h" #define INTEGRATOR_DEBUG(obj) \ OBJECT_CHECK(IntegratorDebugState, (obj), TYPE_INTEGRATOR_DEBUG) diff --git a/hw/misc/arm_l2x0.c b/hw/misc/arm_l2x0.c index 66a0787c47..b88f40ae7e 100644 --- a/hw/misc/arm_l2x0.c +++ b/hw/misc/arm_l2x0.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" /* L2C-310 r3p2 */ #define CACHE_ID 0x410000c8 diff --git a/hw/misc/arm_sysctl.c b/hw/misc/arm_sysctl.c index b20b44ea20..457dfadfab 100644 --- a/hw/misc/arm_sysctl.c +++ b/hw/misc/arm_sysctl.c @@ -15,6 +15,7 @@ #include "hw/arm/primecell.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #define LOCK_VALUE 0xa05f diff --git a/hw/misc/armsse-cpuid.c b/hw/misc/armsse-cpuid.c index 7788f6ced6..05c08f3db5 100644 --- a/hw/misc/armsse-cpuid.c +++ b/hw/misc/armsse-cpuid.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/armsse-mhu.c b/hw/misc/armsse-mhu.c index 9ebca32e9a..514321a9ec 100644 --- a/hw/misc/armsse-mhu.c +++ b/hw/misc/armsse-mhu.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/aspeed_scu.c b/hw/misc/aspeed_scu.c index ab1e18ed4b..71a0d4b7be 100644 --- a/hw/misc/aspeed_scu.c +++ b/hw/misc/aspeed_scu.c @@ -17,6 +17,7 @@ #include "qemu/bitops.h" #include "qemu/log.h" #include "qemu/guest-random.h" +#include "qemu/module.h" #include "trace.h" #define TO_REG(offset) ((offset) >> 2) diff --git a/hw/misc/aspeed_sdmc.c b/hw/misc/aspeed_sdmc.c index eec77f2435..b84676d36d 100644 --- a/hw/misc/aspeed_sdmc.c +++ b/hw/misc/aspeed_sdmc.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "hw/misc/aspeed_sdmc.h" #include "hw/misc/aspeed_scu.h" diff --git a/hw/misc/auxbus.c b/hw/misc/auxbus.c index 0e56d9a8a4..f8e7b97971 100644 --- a/hw/misc/auxbus.c +++ b/hw/misc/auxbus.c @@ -29,6 +29,7 @@ #include "qemu/osdep.h" #include "qemu/units.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/misc/auxbus.h" #include "hw/i2c/i2c.h" #include "monitor/monitor.h" diff --git a/hw/misc/bcm2835_mbox.c b/hw/misc/bcm2835_mbox.c index e97cc814af..a87da5ee53 100644 --- a/hw/misc/bcm2835_mbox.c +++ b/hw/misc/bcm2835_mbox.c @@ -12,6 +12,7 @@ #include "qapi/error.h" #include "hw/misc/bcm2835_mbox.h" #include "qemu/log.h" +#include "qemu/module.h" #define MAIL0_PEEK 0x90 #define MAIL0_SENDER 0x94 diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c index 145427ae0f..0bf789cf60 100644 --- a/hw/misc/bcm2835_property.c +++ b/hw/misc/bcm2835_property.c @@ -9,6 +9,7 @@ #include "hw/misc/bcm2835_mbox_defs.h" #include "sysemu/dma.h" #include "qemu/log.h" +#include "qemu/module.h" /* https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface */ diff --git a/hw/misc/bcm2835_rng.c b/hw/misc/bcm2835_rng.c index fe59c868f5..e882c87568 100644 --- a/hw/misc/bcm2835_rng.c +++ b/hw/misc/bcm2835_rng.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" #include "qemu/guest-random.h" +#include "qemu/module.h" #include "hw/misc/bcm2835_rng.h" static uint32_t get_random_bytes(void) diff --git a/hw/misc/debugexit.c b/hw/misc/debugexit.c index bed293247e..8e4a2fc701 100644 --- a/hw/misc/debugexit.c +++ b/hw/misc/debugexit.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/isa/isa.h" +#include "qemu/module.h" #define TYPE_ISA_DEBUG_EXIT_DEVICE "isa-debug-exit" #define ISA_DEBUG_EXIT_DEVICE(obj) \ diff --git a/hw/misc/eccmemctl.c b/hw/misc/eccmemctl.c index bb7cc52b5e..8386db07df 100644 --- a/hw/misc/eccmemctl.c +++ b/hw/misc/eccmemctl.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "trace.h" /* There are 3 versions of this chip used in SMP sun4m systems: diff --git a/hw/misc/edu.c b/hw/misc/edu.c index 19e5545e2c..3b6dba2c72 100644 --- a/hw/misc/edu.c +++ b/hw/misc/edu.c @@ -28,6 +28,7 @@ #include "hw/pci/msi.h" #include "qemu/timer.h" #include "qemu/main-loop.h" /* iothread mutex */ +#include "qemu/module.h" #include "qapi/visitor.h" #define TYPE_PCI_EDU_DEVICE "edu" diff --git a/hw/misc/exynos4210_clk.c b/hw/misc/exynos4210_clk.c index 81862c0ada..821d9eab3f 100644 --- a/hw/misc/exynos4210_clk.c +++ b/hw/misc/exynos4210_clk.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" #define TYPE_EXYNOS4210_CLK "exynos4210.clk" #define EXYNOS4210_CLK(obj) \ diff --git a/hw/misc/exynos4210_pmu.c b/hw/misc/exynos4210_pmu.c index 0d7b64c5b3..8712774768 100644 --- a/hw/misc/exynos4210_pmu.c +++ b/hw/misc/exynos4210_pmu.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #ifndef DEBUG_PMU diff --git a/hw/misc/exynos4210_rng.c b/hw/misc/exynos4210_rng.c index 0e70ffb404..b88fe3a26d 100644 --- a/hw/misc/exynos4210_rng.c +++ b/hw/misc/exynos4210_rng.c @@ -22,6 +22,7 @@ #include "qapi/error.h" #include "qemu/log.h" #include "qemu/guest-random.h" +#include "qemu/module.h" #define DEBUG_EXYNOS_RNG 0 diff --git a/hw/misc/imx25_ccm.c b/hw/misc/imx25_ccm.c index 19e948a52d..693ea81040 100644 --- a/hw/misc/imx25_ccm.c +++ b/hw/misc/imx25_ccm.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx25_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX25_CCM #define DEBUG_IMX25_CCM 0 diff --git a/hw/misc/imx2_wdt.c b/hw/misc/imx2_wdt.c index e47e442592..5576778a32 100644 --- a/hw/misc/imx2_wdt.c +++ b/hw/misc/imx2_wdt.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/bitops.h" +#include "qemu/module.h" #include "sysemu/watchdog.h" #include "hw/misc/imx2_wdt.h" diff --git a/hw/misc/imx31_ccm.c b/hw/misc/imx31_ccm.c index b890c383be..38a19aa0d0 100644 --- a/hw/misc/imx31_ccm.c +++ b/hw/misc/imx31_ccm.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx31_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #define CKIH_FREQ 26000000 /* 26MHz crystal input */ diff --git a/hw/misc/imx6_ccm.c b/hw/misc/imx6_ccm.c index 4fa94835fe..9478007f41 100644 --- a/hw/misc/imx6_ccm.c +++ b/hw/misc/imx6_ccm.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx6_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX6_CCM #define DEBUG_IMX6_CCM 0 diff --git a/hw/misc/imx6_src.c b/hw/misc/imx6_src.c index cfb08710fb..878ffcdc71 100644 --- a/hw/misc/imx6_src.c +++ b/hw/misc/imx6_src.c @@ -13,6 +13,7 @@ #include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "arm-powerctl.h" #include "qom/cpu.h" diff --git a/hw/misc/imx6ul_ccm.c b/hw/misc/imx6ul_ccm.c index 90bc374271..37b472d125 100644 --- a/hw/misc/imx6ul_ccm.c +++ b/hw/misc/imx6ul_ccm.c @@ -14,6 +14,7 @@ #include "hw/registerfields.h" #include "hw/misc/imx6ul_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" diff --git a/hw/misc/imx7_ccm.c b/hw/misc/imx7_ccm.c index d90c48bfec..d9bdcf1027 100644 --- a/hw/misc/imx7_ccm.c +++ b/hw/misc/imx7_ccm.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/misc/imx7_ccm.h" diff --git a/hw/misc/imx7_gpr.c b/hw/misc/imx7_gpr.c index c2a9df29c6..09d57d4710 100644 --- a/hw/misc/imx7_gpr.c +++ b/hw/misc/imx7_gpr.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx7_gpr.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "trace.h" diff --git a/hw/misc/imx7_snvs.c b/hw/misc/imx7_snvs.c index 4df482b282..55b962a453 100644 --- a/hw/misc/imx7_snvs.c +++ b/hw/misc/imx7_snvs.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx7_snvs.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" static uint64_t imx7_snvs_read(void *opaque, hwaddr offset, unsigned size) diff --git a/hw/misc/imx_ccm.c b/hw/misc/imx_ccm.c index 7f239a41d8..2f81b0ad73 100644 --- a/hw/misc/imx_ccm.c +++ b/hw/misc/imx_ccm.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX_CCM #define DEBUG_IMX_CCM 0 diff --git a/hw/misc/iotkit-secctl.c b/hw/misc/iotkit-secctl.c index 537601cd53..58fd94b14f 100644 --- a/hw/misc/iotkit-secctl.c +++ b/hw/misc/iotkit-secctl.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/iotkit-sysctl.c b/hw/misc/iotkit-sysctl.c index 54064a31ef..00d4faa6db 100644 --- a/hw/misc/iotkit-sysctl.c +++ b/hw/misc/iotkit-sysctl.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/iotkit-sysinfo.c b/hw/misc/iotkit-sysinfo.c index 026ba94261..3e1cf0ec34 100644 --- a/hw/misc/iotkit-sysinfo.c +++ b/hw/misc/iotkit-sysinfo.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index c7b6bbc974..f9cc66aba8 100644 --- a/hw/misc/ivshmem.c +++ b/hw/misc/ivshmem.c @@ -16,6 +16,7 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ + #include "qemu/osdep.h" #include "qemu/units.h" #include "qapi/error.h" @@ -28,6 +29,7 @@ #include "migration/blocker.h" #include "qemu/error-report.h" #include "qemu/event_notifier.h" +#include "qemu/module.h" #include "qom/object_interfaces.h" #include "chardev/char-fe.h" #include "sysemu/hostmem.h" diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c index 3febacdd1e..5fd904b79d 100644 --- a/hw/misc/macio/cuda.c +++ b/hw/misc/macio/cuda.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" @@ -32,6 +33,7 @@ #include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" /* Bits in B data register: all active low */ diff --git a/hw/misc/macio/gpio.c b/hw/misc/macio/gpio.c index 9317df759c..31811ab513 100644 --- a/hw/misc/macio/gpio.c +++ b/hw/misc/macio/gpio.c @@ -30,6 +30,7 @@ #include "hw/misc/macio/gpio.h" #include "hw/nmi.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" diff --git a/hw/misc/macio/mac_dbdma.c b/hw/misc/macio/mac_dbdma.c index e5917d8f2e..548625a5f0 100644 --- a/hw/misc/macio/mac_dbdma.c +++ b/hw/misc/macio/mac_dbdma.c @@ -36,10 +36,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac_dbdma.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/log.h" #include "sysemu/dma.h" diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c index b726c73022..82492096f8 100644 --- a/hw/misc/macio/macio.c +++ b/hw/misc/macio/macio.c @@ -22,8 +22,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/ppc/mac.h" #include "hw/misc/macio/cuda.h" diff --git a/hw/misc/macio/pmu.c b/hw/misc/macio/pmu.c index 6e6d96c8c5..7201cf4f9a 100644 --- a/hw/misc/macio/pmu.c +++ b/hw/misc/macio/pmu.c @@ -39,6 +39,7 @@ #include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" diff --git a/hw/misc/max111x.c b/hw/misc/max111x.c index ac6d35a81d..d373ece0c9 100644 --- a/hw/misc/max111x.c +++ b/hw/misc/max111x.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/ssi/ssi.h" +#include "qemu/module.h" typedef struct { SSISlave parent_obj; diff --git a/hw/misc/milkymist-hpdmc.c b/hw/misc/milkymist-hpdmc.c index 44dc0698ec..701c79e81c 100644 --- a/hw/misc/milkymist-hpdmc.c +++ b/hw/misc/milkymist-hpdmc.c @@ -26,6 +26,7 @@ #include "hw/sysbus.h" #include "trace.h" #include "qemu/error-report.h" +#include "qemu/module.h" enum { R_SYSTEM = 0, diff --git a/hw/misc/milkymist-pfpu.c b/hw/misc/milkymist-pfpu.c index 4a03c7ee63..1c27f1a4bc 100644 --- a/hw/misc/milkymist-pfpu.c +++ b/hw/misc/milkymist-pfpu.c @@ -27,6 +27,7 @@ #include "hw/sysbus.h" #include "trace.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include <math.h> diff --git a/hw/misc/mips_cmgcr.c b/hw/misc/mips_cmgcr.c index d019d41a3c..edec164605 100644 --- a/hw/misc/mips_cmgcr.c +++ b/hw/misc/mips_cmgcr.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/mips_cpc.c b/hw/misc/mips_cpc.c index 712d8423a7..446b1ad397 100644 --- a/hw/misc/mips_cpc.c +++ b/hw/misc/mips_cpc.c @@ -21,6 +21,7 @@ #include "qapi/error.h" #include "cpu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "hw/misc/mips_cpc.h" diff --git a/hw/misc/mips_itu.c b/hw/misc/mips_itu.c index 3afdbe69c6..e8ba4a3cd0 100644 --- a/hw/misc/mips_itu.c +++ b/hw/misc/mips_itu.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu/units.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "cpu.h" #include "exec/exec-all.h" diff --git a/hw/misc/mos6522.c b/hw/misc/mos6522.c index 14cff26c61..e72ed69d51 100644 --- a/hw/misc/mos6522.c +++ b/hw/misc/mos6522.c @@ -23,6 +23,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/input/adb.h" @@ -31,6 +32,7 @@ #include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" /* XXX: implement all timer modes */ diff --git a/hw/misc/mps2-fpgaio.c b/hw/misc/mps2-fpgaio.c index 5cf10ebd66..b97ad42d75 100644 --- a/hw/misc/mps2-fpgaio.c +++ b/hw/misc/mps2-fpgaio.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/mps2-scc.c b/hw/misc/mps2-scc.c index 6a9d251f18..1fdf5d22bd 100644 --- a/hw/misc/mps2-scc.c +++ b/hw/misc/mps2-scc.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "hw/sysbus.h" #include "hw/registerfields.h" diff --git a/hw/misc/msf2-sysreg.c b/hw/misc/msf2-sysreg.c index 6eb501104b..21a2863821 100644 --- a/hw/misc/msf2-sysreg.c +++ b/hw/misc/msf2-sysreg.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/misc/msf2-sysreg.h" #include "qemu/error-report.h" #include "trace.h" diff --git a/hw/misc/mst_fpga.c b/hw/misc/mst_fpga.c index a10f0496fe..fd18303724 100644 --- a/hw/misc/mst_fpga.c +++ b/hw/misc/mst_fpga.c @@ -10,9 +10,11 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" /* Mainstone FPGA for extern irqs */ #define FPGA_GPIO_PIN 0 diff --git a/hw/misc/nrf51_rng.c b/hw/misc/nrf51_rng.c index 3400e90a9b..96ef4330eb 100644 --- a/hw/misc/nrf51_rng.c +++ b/hw/misc/nrf51_rng.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/arm/nrf51.h" #include "hw/misc/nrf51_rng.h" diff --git a/hw/misc/pc-testdev.c b/hw/misc/pc-testdev.c index 0aee04f231..1f9abd52b8 100644 --- a/hw/misc/pc-testdev.c +++ b/hw/misc/pc-testdev.c @@ -38,6 +38,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/qdev.h" +#include "qemu/module.h" #include "hw/isa/isa.h" #define IOMEM_LEN 0x10000 diff --git a/hw/misc/pca9552.c b/hw/misc/pca9552.c index 7325d3f287..3422397f89 100644 --- a/hw/misc/pca9552.c +++ b/hw/misc/pca9552.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/misc/pca9552.h" #include "hw/misc/pca9552_regs.h" diff --git a/hw/misc/pci-testdev.c b/hw/misc/pci-testdev.c index 1282d151cb..d4d89df4cf 100644 --- a/hw/misc/pci-testdev.c +++ b/hw/misc/pci-testdev.c @@ -17,10 +17,12 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see <http://www.gnu.org/licenses/>. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "qemu/event_notifier.h" +#include "qemu/module.h" #include "sysemu/kvm.h" typedef struct PCITestDevHdr { diff --git a/hw/misc/puv3_pm.c b/hw/misc/puv3_pm.c index afe191fbe1..b538b4afbb 100644 --- a/hw/misc/puv3_pm.c +++ b/hw/misc/puv3_pm.c @@ -8,12 +8,14 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #undef DEBUG_PUV3 #include "hw/unicore32/puv3.h" +#include "qemu/module.h" #define TYPE_PUV3_PM "puv3_pm" #define PUV3_PM(obj) OBJECT_CHECK(PUV3PMState, (obj), TYPE_PUV3_PM) diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c index 9d8961ba0c..1da24c621e 100644 --- a/hw/misc/pvpanic.c +++ b/hw/misc/pvpanic.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/nvram/fw_cfg.h" #include "hw/misc/pvpanic.h" diff --git a/hw/misc/sga.c b/hw/misc/sga.c index 4a22a52a60..da04924f5f 100644 --- a/hw/misc/sga.c +++ b/hw/misc/sga.c @@ -24,9 +24,11 @@ * sgabios code originally available at code.google.com/p/sgabios * */ + #include "qemu/osdep.h" #include "hw/isa/isa.h" #include "hw/loader.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #define SGABIOS_FILENAME "sgabios.bin" diff --git a/hw/misc/slavio_misc.c b/hw/misc/slavio_misc.c index 0b33cdcb61..9c2cf04646 100644 --- a/hw/misc/slavio_misc.c +++ b/hw/misc/slavio_misc.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "trace.h" /* diff --git a/hw/misc/stm32f2xx_syscfg.c b/hw/misc/stm32f2xx_syscfg.c index 7f10195862..aa59b43549 100644 --- a/hw/misc/stm32f2xx_syscfg.c +++ b/hw/misc/stm32f2xx_syscfg.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/misc/stm32f2xx_syscfg.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef STM_SYSCFG_ERR_DEBUG #define STM_SYSCFG_ERR_DEBUG 0 diff --git a/hw/misc/tmp105.c b/hw/misc/tmp105.c index 0c32f6f8b6..19def5c20f 100644 --- a/hw/misc/tmp105.c +++ b/hw/misc/tmp105.c @@ -24,6 +24,7 @@ #include "tmp105.h" #include "qapi/error.h" #include "qapi/visitor.h" +#include "qemu/module.h" static void tmp105_interrupt_update(TMP105State *s) { diff --git a/hw/misc/tmp421.c b/hw/misc/tmp421.c index ce6d40ac9c..69ee5db4b7 100644 --- a/hw/misc/tmp421.c +++ b/hw/misc/tmp421.c @@ -29,6 +29,7 @@ #include "hw/i2c/i2c.h" #include "qapi/error.h" #include "qapi/visitor.h" +#include "qemu/module.h" /* Manufacturer / Device ID's */ #define TMP421_MANUFACTURER_ID 0x55 diff --git a/hw/misc/tz-mpc.c b/hw/misc/tz-mpc.c index 9a84be75ed..45a3e31c3d 100644 --- a/hw/misc/tz-mpc.c +++ b/hw/misc/tz-mpc.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/tz-msc.c b/hw/misc/tz-msc.c index 9e352044ea..52b96ba70d 100644 --- a/hw/misc/tz-msc.c +++ b/hw/misc/tz-msc.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/tz-ppc.c b/hw/misc/tz-ppc.c index 2e04837bea..2a14a26f29 100644 --- a/hw/misc/tz-ppc.c +++ b/hw/misc/tz-ppc.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/unimp.c b/hw/misc/unimp.c index 1c0ba2f0a7..7f8e42cc2c 100644 --- a/hw/misc/unimp.c +++ b/hw/misc/unimp.c @@ -16,6 +16,7 @@ #include "hw/sysbus.h" #include "hw/misc/unimp.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" static uint64_t unimp_read(void *opaque, hwaddr offset, unsigned size) diff --git a/hw/misc/vmcoreinfo.c b/hw/misc/vmcoreinfo.c index 304c6287c7..987d6f52af 100644 --- a/hw/misc/vmcoreinfo.c +++ b/hw/misc/vmcoreinfo.c @@ -9,8 +9,10 @@ * See the COPYING file in the top-level directory. * */ + #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/nvram/fw_cfg.h" #include "hw/misc/vmcoreinfo.h" diff --git a/hw/misc/zynq-xadc.c b/hw/misc/zynq-xadc.c index 14906103c9..f1e48601dc 100644 --- a/hw/misc/zynq-xadc.c +++ b/hw/misc/zynq-xadc.c @@ -19,6 +19,7 @@ #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" enum { CFG = 0x000 / 4, diff --git a/hw/misc/zynq_slcr.c b/hw/misc/zynq_slcr.c index d6bdd027ef..6b51ae5ff1 100644 --- a/hw/misc/zynq_slcr.c +++ b/hw/misc/zynq_slcr.c @@ -20,6 +20,7 @@ #include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef ZYNQ_SLCR_ERR_DEBUG #define ZYNQ_SLCR_ERR_DEBUG 0 |