@samitouri / QOSamiQemu / commits / 15500df3b3

target/arm/tcg/translate.h: replace target_ulong with vaddr

Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20260219040150.2098396-13-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Pierrick Bouvier committed Feb 18, 2026 at 20:01 UTC 15500df3b3b05516eb80dddb4a9d29c0c28a02ab
1 file changed +4 -4
target/arm/tcg/translate.h
+4 -4
@@ -18,7 +18,7 @@
18 */
19 typedef struct DisasLabel {
20 TCGLabel *label;
21 - target_ulong pc_save;
21 + vaddr pc_save;
22 } DisasLabel;
23
24 /*
@@ -42,7 +42,7 @@ typedef struct DisasContext {
42 DisasDelayException *delay_excp_list;
43
44 /* The address of the current instruction being translated. */
45 - target_ulong pc_curr;
45 + vaddr pc_curr;
46 /*
47 * For CF_PCREL, the full value of cpu_pc is not known
48 * (although the page offset is known). For convenience, the
@@ -56,8 +56,8 @@ typedef struct DisasContext {
56 * pc_save contains -1 to indicate that relative updates are no
57 * longer possible.
58 */
59 - target_ulong pc_save;
60 - target_ulong page_start;
59 + vaddr pc_save;
60 + vaddr page_start;
61 uint32_t insn;
62 /* Nonzero if this instruction has been conditionally skipped. */
63 int condjmp;