mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03: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
|
@ -45,7 +45,6 @@
|
|||
#include "internal.h"
|
||||
#include "spr_common.h"
|
||||
#include "power8-pmu.h"
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "hw/boards.h"
|
||||
#include "hw/intc/intc.h"
|
||||
|
@ -7483,6 +7482,7 @@ static const TCGCPUOps ppc_tcg_ops = {
|
|||
.guest_default_memory_order = 0,
|
||||
.initialize = ppc_translate_init,
|
||||
.translate_code = ppc_translate_code,
|
||||
.get_tb_cpu_state = ppc_get_tb_cpu_state,
|
||||
.restore_state_to_opc = ppc_restore_state_to_opc,
|
||||
.mmu_index = ppc_cpu_mmu_index,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue