summary refs log tree commit diff stats
path: root/rust/qemu-api
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-03-07 14:20:13 +0800
committerBibo Mao <maobibo@loongson.cn>2025-05-06 09:17:32 +0800
commita41a74ca5323f4d30ac7eb48ec1d54a09fae5baa (patch)
tree02d7c98abdb5e9db43b8edf419a4abd19f97bdf2 /rust/qemu-api
parent5101435e6d784c6d5bb267ca019b721a028dbc47 (diff)
downloadfocaccia-qemu-a41a74ca5323f4d30ac7eb48ec1d54a09fae5baa.tar.gz
focaccia-qemu-a41a74ca5323f4d30ac7eb48ec1d54a09fae5baa.zip
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 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions