diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-04-01 15:28:18 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-06-05 12:04:29 -0700 |
commit | 85314e13ad724247fbd74ff13555bff1cbda8356 (patch) | |
tree | 635edeac62ef4bd4a47901291dc54bc63cd87b2f /accel/tcg/cpu-exec.c | |
parent | 087e2341fbf064b4de47b964670110f4d4642cd3 (diff) | |
download | qemu-85314e13ad724247fbd74ff13555bff1cbda8356.zip qemu-85314e13ad724247fbd74ff13555bff1cbda8356.tar.gz qemu-85314e13ad724247fbd74ff13555bff1cbda8356.tar.bz2 |
exec-all: Widen TranslationBlock pc and cs_base to 64-bits
This makes TranslationBlock agnostic to the address size of the guest.
Use vaddr for pc, since that's always a virtual address.
Use uint64_t for cs_base, since usage varies between guests.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/cpu-exec.c')
-rw-r--r-- | accel/tcg/cpu-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index 60ca9e2..1cf4f1f 100644 --- a/accel/tcg/cpu-exec.c +++ b/accel/tcg/cpu-exec.c @@ -297,7 +297,7 @@ static void log_cpu_exec(target_ulong pc, CPUState *cpu, { if (qemu_log_in_addr_range(pc)) { qemu_log_mask(CPU_LOG_EXEC, - "Trace %d: %p [" TARGET_FMT_lx + "Trace %d: %p [%08" PRIx64 "/" TARGET_FMT_lx "/%08x/%08x] %s\n", cpu->cpu_index, tb->tc.ptr, tb->cs_base, pc, tb->flags, tb->cflags, lookup_symbol(pc)); |