mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
accel/tcg: Move cpu_get_tb_cpu_state to TCGCPUOps
Move the global function name to a hook on TCGCPUOps. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
4759aae432
commit
c37f8978d9
27 changed files with 56 additions and 26 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "exec/hwaddr.h"
|
||||
#include "exec/vaddr.h"
|
||||
#include "exec/breakpoint.h"
|
||||
#include "accel/tcg/tb-cpu-state.h"
|
||||
#include "hw/registerfields.h"
|
||||
#include "tcg/tcg-gvec-desc.h"
|
||||
#include "system/memory.h"
|
||||
|
@ -372,6 +373,7 @@ void arm_restore_state_to_opc(CPUState *cs,
|
|||
const uint64_t *data);
|
||||
|
||||
#ifdef CONFIG_TCG
|
||||
TCGTBCPUState arm_get_tb_cpu_state(CPUState *cs);
|
||||
void arm_cpu_synchronize_from_tb(CPUState *cs, const TranslationBlock *tb);
|
||||
|
||||
/* Our implementation of TCGCPUOps::cpu_exec_halt */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue