mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
134e0944f4
Define a device_class_set_legacy_reset() function which sets the DeviceClass::reset field. This serves two purposes: * it makes it clearer to the person writing code that DeviceClass::reset is now legacy and they should look for the new alternative (which is Resettable) * it makes it easier to rename the reset field (which in turn makes it easier to find places that call it) The Coccinelle script can be used to automatically convert code that was doing an open-coded assignment to DeviceClass::reset to call device_class_set_legacy_reset() instead. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20240830145812.1967042-7-peter.maydell@linaro.org |
3 months ago | |
---|---|---|
.. | ||
cpu-reset.cocci | 5 years ago | |
cpu_restore_state.cocci | 7 years ago | |
device-reset.cocci | 3 months ago | |
err-bad-newline.cocci | 4 years ago | |
error-use-after-free.cocci | 5 years ago | |
error_propagate_null.cocci | 9 years ago | |
errp-guard.cocci | 4 years ago | |
exec_rw_const.cocci | 5 years ago | |
inplace-byteswaps.cocci | 6 years ago | |
memory-region-housekeeping.cocci | 4 years ago | |
overflow_muldiv64.cocci | ||
qobject.cocci | 7 years ago | |
qom-parent-type.cocci | 4 years ago | |
remove_local_err.cocci | 9 years ago | |
remove_muldiv64.cocci | ||
reset-type.cocci | 7 months ago | |
return_directly.cocci | 2 years ago | |
round.cocci | ||
simplify_muldiv64.cocci | ||
swap_muldiv64.cocci | ||
tcg_gen_extract.cocci | 6 years ago | |
timer-del-timer-free.cocci | 4 years ago | |
typecast.cocci | 8 years ago | |
use-error_fatal.cocci | 6 years ago | |
use-g_new-etc.cocci | 3 years ago |