qemu/hw/nvram
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
..
chrp_nvram.c
ds1225y.c
eeprom93xx.c
eeprom_at24c.c
fw_cfg-acpi.c
fw_cfg-interface.c
fw_cfg.c hw/sysbus: Inline and remove sysbus_add_io() 2024-02-22 12:47:40 +01:00
Kconfig
mac_nvram.c hw/nvram/mac_nvram: Report failure to write data 2024-03-25 10:41:01 +00:00
meson.build
npcm7xx_otp.c
nrf51_nvm.c
spapr_nvram.c
trace-events
trace.h
xlnx-bbram.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
xlnx-efuse-crc.c
xlnx-efuse.c
xlnx-versal-efuse-cache.c
xlnx-versal-efuse-ctrl.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
xlnx-zynqmp-efuse.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00