qemu/include/hw/timer
Peter Maydell efc34aaa82 hw/arm/mps2: Inline CMSDK_APB_TIMER creation
The old-style convenience function cmsdk_apb_timer_create() for
creating CMSDK_APB_TIMER objects is used in only two places in
mps2.c.  Most of the rest of the code in that file uses the new
"initialize in place" coding style.

We want to connect up a Clock object which should be done between the
object creation and realization; rather than adding a Clock* argument
to the convenience function, convert the timer creation code in
mps2.c to the same style as is used already for the watchdog,
dualtimer and other devices, and delete the now-unused convenience
function.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210128114145.20536-13-peter.maydell@linaro.org
Message-id: 20210121190622.22000-13-peter.maydell@linaro.org
2021-01-29 15:54:43 +00:00
..
a9gtimer.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
allwinner-a10-pit.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
arm_mptimer.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
armv7m_systick.h hw/timer/armv7m_systick: Rewrite to use ptimers 2020-10-27 11:15:31 +00:00
aspeed_timer.h Use OBJECT_DECLARE_TYPE when possible 2020-09-18 14:12:32 -04:00
avr_timer16.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
bcm2835_systmr.h hw/timer/bcm2835: Support the timer COMPARE registers 2020-10-20 16:12:00 +01:00
cmsdk-apb-dualtimer.h hw/timer/cmsdk-apb-dualtimer: Add Clock input 2021-01-29 15:54:42 +00:00
cmsdk-apb-timer.h hw/arm/mps2: Inline CMSDK_APB_TIMER creation 2021-01-29 15:54:43 +00:00
digic-timer.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
hpet.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
i8254.h Use OBJECT_DECLARE_TYPE when possible 2020-09-18 14:12:32 -04:00
i8254_internal.h i8254: Move PITCommonState/PITCommonClass typedefs to i8254.h 2020-08-27 14:04:54 -04:00
imx_epit.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
imx_gpt.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mips_gictimer.h hw/mips_gictimer: provide API for retrieving frequency 2017-02-21 22:24:58 +00:00
mss-timer.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
npcm7xx_timer.h hw/timer: Refactor NPCM7XX Timer to use CLK clock 2021-01-12 21:19:02 +00:00
nrf51_timer.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
renesas_cmt.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
renesas_tmr.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
stm32f2xx_timer.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tmu012.h hw/sh4: Extract timer definitions to 'hw/timer/tmu012.h' 2020-06-22 18:37:12 +02:00