qemu/target
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
..
alpha target/alpha: Prefer fast cpu_env() over slower CPU QOM cast macro 2024-03-12 11:46:16 +01:00
arm hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
avr hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
cris hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
hexagon hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
hppa target/hppa: Use insn_start from DisasContextBase 2024-04-09 07:45:09 -10:00
i386 hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
loongarch hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
m68k hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
microblaze hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
mips hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
openrisc hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
ppc hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
riscv hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
rx hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
s390x KVM: remove kvm_arch_cpu_check_are_resettable 2024-04-23 17:35:25 +02:00
sh4 hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
sparc hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
tricore hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
xtensa hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
Kconfig target/nios2: Remove the deprecated Nios II target 2024-04-24 16:03:38 +02:00
meson.build target/nios2: Remove the deprecated Nios II target 2024-04-24 16:03:38 +02:00
target-common.c target: Make qemu_target_page_mask() available for *-user 2024-01-29 21:04:10 +10:00