summary refs log tree commit diff stats
path: root/backends/cryptodev-vhost-user.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2024-12-30 12:46:47 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-13 17:16:04 +0100
commitf4f4173188249d33a3ec4a0c910c168c9181ac9d (patch)
tree0cf2e7c28e5789a6fc8d1e1b7241258e667e12d1 /backends/cryptodev-vhost-user.c
parente4a407d2b41de8a35e2a1ecc0b9f22178ce71577 (diff)
downloadfocaccia-qemu-f4f4173188249d33a3ec4a0c910c168c9181ac9d.tar.gz
focaccia-qemu-f4f4173188249d33a3ec4a0c910c168c9181ac9d.zip
target/hppa: Convert hppa_cpu_init() to ResetHold handler
hppa_cpu_initfn() is called once when a HPPA CPU instance is
initialized, but it sets fields which should be set each time
a CPU resets. Rename it as a reset handler, having it matching
the ResettablePhases::hold() signature, and register it as
ResettableClass handler.

Since on reset the CPU registers and TLB entries are expected
to be zero, add a memset() call clearing CPUHPPAState up to
the &end_reset_fields marker.

Signed-off-by: Helge Deller <deller@gmx.de>
Co-developed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20241231190620.24442-3-philmd@linaro.org>
Diffstat (limited to 'backends/cryptodev-vhost-user.c')
0 files changed, 0 insertions, 0 deletions