qemu/hw/m68k
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
..
an5206.c hw/m68k/mcf5206: Pass CPU using QOM link property 2023-11-01 07:20:34 +01:00
bootinfo.h hw/m68k: Clean up local variable shadowing 2023-09-29 10:07:15 +02:00
Kconfig audio: add Apple Sound Chip (ASC) emulation 2023-10-06 10:33:43 +02:00
mcf5206.c hw/m68k/mcf5206: Embed m5206_timer_state in m5206_mbar_state 2024-01-05 16:20:15 +01:00
mcf5208.c hw/m68k/mcf5208: add support for reset 2024-03-09 19:17:01 +01:00
mcf_intc.c hw/m68k/mcf_intc: Pass CPU using QOM link property 2023-11-01 07:20:34 +01:00
meson.build q800: move GLUE device into separate q800-glue.c file 2023-06-22 09:21:57 +02:00
next-cube.c hw/m68k: Constify VMState 2023-12-30 07:38:05 +11:00
next-kbd.c other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
q800-glue.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
q800.c hw/m68k/q800: use qemu_find_nic_info() 2024-02-02 16:23:47 +00:00
virt.c hw: Add compat machines for 9.1 2024-04-18 11:17:28 +02:00