diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-03-07 14:20:13 +0800 |
---|---|---|
committer | Bibo Mao <maobibo@loongson.cn> | 2025-05-06 09:17:32 +0800 |
commit | a41a74ca5323f4d30ac7eb48ec1d54a09fae5baa (patch) | |
tree | 02d7c98abdb5e9db43b8edf419a4abd19f97bdf2 /scripts/rust/rustc_args.py | |
parent | 5101435e6d784c6d5bb267ca019b721a028dbc47 (diff) | |
download | qemu-a41a74ca5323f4d30ac7eb48ec1d54a09fae5baa.zip qemu-a41a74ca5323f4d30ac7eb48ec1d54a09fae5baa.tar.gz qemu-a41a74ca5323f4d30ac7eb48ec1d54a09fae5baa.tar.bz2 |
hw/intc/loongarch_pch: Replace legacy reset callback with new api
Replace legacy reset callback register device_class_set_legacy_reset()
with new function resettable_class_set_parent_phases(). With new API,
it will call reset callback of parent object.
The internal state has been cleared in parent object
LOONGARCH_PIC_COMMON, here parent_phases.hold() is directly called.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'scripts/rust/rustc_args.py')
0 files changed, 0 insertions, 0 deletions