]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/tcg: Add restore_state_to_opc to TCGCPUOps
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 24 Oct 2022 09:43:40 +0000 (19:43 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 26 Oct 2022 01:11:28 +0000 (11:11 +1000)
commitd29256896f563683419ae4af04d94d7d0f07c225
tree123efaad95b498e095feb2ae4fb35de1ec0bbfec
parent8269c01417a3e0bdb444b1bdac1d9b6c8bc9e667
accel/tcg: Add restore_state_to_opc to TCGCPUOps

Add a tcg_ops hook to replace the restore_state_to_opc
function call.  Because these generic hooks cannot depend
on target-specific types, temporarily, copy the current
target_ulong data[] into uint64_t d64[].

Reviewed-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translate-all.c
include/exec/exec-all.h
include/hw/core/tcg-cpu-ops.h