aboutsummaryrefslogtreecommitdiff
path: root/target/hexagon
diff options
context:
space:
mode:
authorAnton Johansson <anjo@rev.ng>2023-06-21 15:56:24 +0200
committerRichard Henderson <richard.henderson@linaro.org>2023-06-26 17:32:59 +0200
commitbb5de52524c6c4b7da5623c5b19d9d6dc8405aa0 (patch)
tree4138ef0909e042b70f4b76f55f7ac05ece339850 /target/hexagon
parent256d11f9ba23c74db75d50b24e3357d583d7885b (diff)
downloadqemu-bb5de52524c6c4b7da5623c5b19d9d6dc8405aa0.zip
qemu-bb5de52524c6c4b7da5623c5b19d9d6dc8405aa0.tar.gz
qemu-bb5de52524c6c4b7da5623c5b19d9d6dc8405aa0.tar.bz2
target: Widen pc/cs_base in cpu_get_tb_cpu_state
Signed-off-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230621135633.1649-4-anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hexagon')
-rw-r--r--target/hexagon/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/hexagon/cpu.h b/target/hexagon/cpu.h
index bfcb105..daef5c3 100644
--- a/target/hexagon/cpu.h
+++ b/target/hexagon/cpu.h
@@ -153,8 +153,8 @@ struct ArchCPU {
FIELD(TB_FLAGS, IS_TIGHT_LOOP, 0, 1)
-static inline void cpu_get_tb_cpu_state(CPUHexagonState *env, target_ulong *pc,
- target_ulong *cs_base, uint32_t *flags)
+static inline void cpu_get_tb_cpu_state(CPUHexagonState *env, vaddr *pc,
+ uint64_t *cs_base, uint32_t *flags)
{
uint32_t hex_flags = 0;
*pc = env->gpr[HEX_REG_PC];