qemu/hw/input
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
..
adb-internal.h Supply missing header guards 2019-06-12 13:20:21 +02:00
adb-kbd.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
adb-mouse.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
adb.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
ads7846.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
hid.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
Kconfig hw/input/stellaris_input: Rename to stellaris_gamepad 2023-11-02 12:52:06 +00:00
lasips2.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
lm832x.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
meson.build hw/virtio: Move vhost-user-input into virtio folder 2024-02-14 06:09:32 -05:00
pckbd.c hw/input/pckbd: Open-code i8042_setup_a20_line() wrapper 2024-02-22 12:47:35 +01:00
pl050.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
ps2.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
pxa2xx_keypad.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
stellaris_gamepad.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
trace-events ps2: remove unused legacy ps2_mouse_init() function 2022-07-18 19:28:46 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
tsc210x.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
tsc2005.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
virtio-input-hid.c ui/input: Constify QemuInputHandler structure 2023-10-19 23:13:28 +02:00
virtio-input-host.c hw: replace qemu_set_nonblock() 2022-05-03 15:52:33 +04:00
virtio-input.c hw/input: Constify VMState 2023-12-29 11:17:30 +11:00