diff options
| author | Peter Crosthwaite | 2015-04-29 09:52:21 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2015-04-30 15:06:18 +0200 |
| commit | fee068e4f190a36ef3bda9aa7c802f90434ef8e5 (patch) | |
| tree | 4dea310c1a049f47edc5bd6948ba30fcf3713dd6 /target-arm | |
| parent | kvm: Silence warning from valgrind (diff) | |
| download | qemu-fee068e4f190a36ef3bda9aa7c802f90434ef8e5.tar.gz qemu-fee068e4f190a36ef3bda9aa7c802f90434ef8e5.tar.xz qemu-fee068e4f190a36ef3bda9aa7c802f90434ef8e5.zip | |
tcg: Delete unused cpu_pc_from_tb()
No code uses the cpu_pc_from_tb() function. Delete from tricore and
arm which each provide an unused implementation. Update the comment
in tcg.h to reflect that this is obsoleted by synchronize_from_tb.
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-arm')
| -rw-r--r-- | target-arm/cpu.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 8df0b6a39c..d4a589964e 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -1874,15 +1874,6 @@ static inline void cpu_get_tb_cpu_state(CPUARMState *env, target_ulong *pc, #include "exec/exec-all.h" -static inline void cpu_pc_from_tb(CPUARMState *env, TranslationBlock *tb) -{ - if (ARM_TBFLAG_AARCH64_STATE(tb->flags)) { - env->pc = tb->pc; - } else { - env->regs[15] = tb->pc; - } -} - enum { QEMU_PSCI_CONDUIT_DISABLED = 0, QEMU_PSCI_CONDUIT_SMC = 1, |
