qemu-patch-raspberry4/hw/timer
Markus Armbruster 64552b6be4 Include hw/irq.h a lot less
In my "build everything" tree, changing hw/irq.h triggers a recompile
of some 5400 out of 6600 objects (not counting tests and objects that
don't depend on qemu/osdep.h).

hw/hw.h supposedly includes it for convenience.  Several other headers
include it just to get qemu_irq and.or qemu_irq_handler.

Move the qemu_irq and qemu_irq_handler typedefs from hw/irq.h to
qemu/typedefs.h, and then include hw/irq.h only where it's still
needed.  Touching it now recompiles only some 500 objects.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190812052359.30071-13-armbru@redhat.com>
2019-08-16 13:31:52 +02:00
..
a9gtimer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
allwinner-a10-pit.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
altera_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
arm_mptimer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
arm_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
armv7m_systick.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
aspeed_rtc.c hw: timer: Add ASPEED RTC device 2019-07-01 17:28:59 +01:00
aspeed_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
cadence_ttc.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
cmsdk-apb-dualtimer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
cmsdk-apb-timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
digic-timer.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
ds1338.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
etraxfs_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
exynos4210_mct.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
exynos4210_pwm.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
exynos4210_rtc.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
grlib_gptimer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
hpet.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
i8254.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
i8254_common.c Include migration/qemu-file-types.h a lot less 2019-08-16 13:31:52 +02:00
imx_epit.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
imx_gpt.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
Kconfig i386-softmmu.mak: remove all CONFIG_* except boards definitions 2019-03-07 21:45:53 +01:00
lm32_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
m41t80.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
m48t59-internal.h Normalize header guard symbol definition. 2019-05-13 08:58:55 +02:00
m48t59-isa.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
m48t59.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
Makefile.objs hw: timer: Add ASPEED RTC device 2019-07-01 17:28:59 +01:00
mc146818rtc.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
milkymist-sysctl.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
mips_gictimer.c hw/mips_gictimer: provide API for retrieving frequency 2017-02-21 22:24:58 +00:00
mss-timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
nrf51_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
omap_gptimer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
omap_synctimer.c hw/timer/omap_synctimer.c: Don't use old_mmio 2017-09-21 16:34:27 +01:00
pl031.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
puv3_ost.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
pxa2xx_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
sh_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
slavio_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
stm32f2xx_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
sun4v-rtc.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
trace-events hw: timer: Add ASPEED RTC device 2019-07-01 17:28:59 +01:00
twl92230.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
xilinx_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
xlnx-zynqmp-rtc.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00