mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
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>
This commit is contained in:
parent
8269c01417
commit
d29256896f
3 changed files with 34 additions and 3 deletions
|
@ -40,7 +40,7 @@ typedef ram_addr_t tb_page_addr_t;
|
|||
#endif
|
||||
|
||||
void restore_state_to_opc(CPUArchState *env, TranslationBlock *tb,
|
||||
target_ulong *data);
|
||||
target_ulong *data) __attribute__((weak));
|
||||
|
||||
/**
|
||||
* cpu_restore_state:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue