qemu/hw/timer
Peter Maydell ad80e36744 hw, target: Add ResetType argument to hold and exit phase methods
We pass a ResetType argument to the Resettable class enter
phase method, but we don't pass it to hold and exit, even though
the callsites have it readily available. This means that if
a device cared about the ResetType it would need to record it
in the enter phase method to use later on. Pass the type to
all three of the phase methods to avoid having to do that.

Commit created with

  for dir in hw target include; do \
      spatch --macro-file scripts/cocci-macro-file.h \
             --sp-file scripts/coccinelle/reset-type.cocci \
             --keep-comments --smpl-spacing --in-place \
             --include-headers --dir $dir; done

and no manual edits.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Luc Michel <luc.michel@amd.com>
Message-id: 20240412160809.1260625-5-peter.maydell@linaro.org
2024-04-25 10:21:06 +01:00
..
a9gtimer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
allwinner-a10-pit.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
arm_mptimer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
arm_timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
armv7m_systick.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
aspeed_timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
avr_timer16.c
bcm2835_systmr.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
cadence_ttc.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
cmsdk-apb-dualtimer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
cmsdk-apb-timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
digic-timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
etraxfs_timer.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
exynos4210_mct.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
exynos4210_pwm.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
grlib_gptimer.c hw/sparc/grlib: split out the headers for each peripherals 2024-02-15 16:58:46 +01:00
hpet.c hw/timer: Move HPET_INTCAP definition to "hpet.h" 2024-02-20 20:34:21 +03:00
i8254_common.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
i8254.c
ibex_timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
imx_epit.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
imx_gpt.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
Kconfig hw/timer: Remove the ALTERA_TIMER model 2024-04-24 16:03:38 +02:00
meson.build hw/timer: Remove the ALTERA_TIMER model 2024-04-24 16:03:38 +02:00
mips_gictimer.c
mss-timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
npcm7xx_timer.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
nrf51_timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
omap_gptimer.c
omap_synctimer.c
pxa2xx_timer.c misc: pxa2xx_timer: replace qemu_system_reset_request() call with watchdog_perform_action() 2024-02-27 13:01:41 +00:00
renesas_cmt.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
renesas_tmr.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
sh_timer.c
sifive_pwm.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
slavio_timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
sse-counter.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
sse-timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
stellaris-gptm.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
stm32f2xx_timer.c hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
trace-events hw/timer/hpet: Convert DPRINTF to trace events 2024-01-19 12:28:10 +01:00
trace.h
xilinx_timer.c