mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
include/exec: Use vaddr in DisasContextBase for virtual addresses
Updates target/ QEMU_LOG macros to use VADDR_PRIx for printing updated DisasContextBase fields. Signed-off-by: Anton Johansson <anjo@rev.ng> Message-Id: <20240119144024.14289-10-anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
32f0c394bb
commit
85c19af63e
5 changed files with 14 additions and 12 deletions
|
@ -4585,8 +4585,8 @@ static void gen_compute_branch(DisasContext *ctx, uint32_t opc,
|
|||
|
||||
if (ctx->hflags & MIPS_HFLAG_BMASK) {
|
||||
#ifdef MIPS_DEBUG_DISAS
|
||||
LOG_DISAS("Branch in delay / forbidden slot at PC 0x"
|
||||
TARGET_FMT_lx "\n", ctx->base.pc_next);
|
||||
LOG_DISAS("Branch in delay / forbidden slot at PC 0x%016"
|
||||
VADDR_PRIx "\n", ctx->base.pc_next);
|
||||
#endif
|
||||
gen_reserved_instruction(ctx);
|
||||
goto out;
|
||||
|
@ -9061,8 +9061,8 @@ static void gen_compute_branch1_r6(DisasContext *ctx, uint32_t op,
|
|||
|
||||
if (ctx->hflags & MIPS_HFLAG_BMASK) {
|
||||
#ifdef MIPS_DEBUG_DISAS
|
||||
LOG_DISAS("Branch in delay / forbidden slot at PC 0x" TARGET_FMT_lx
|
||||
"\n", ctx->base.pc_next);
|
||||
LOG_DISAS("Branch in delay / forbidden slot at PC 0x%016"
|
||||
VADDR_PRIx "\n", ctx->base.pc_next);
|
||||
#endif
|
||||
gen_reserved_instruction(ctx);
|
||||
return;
|
||||
|
@ -11274,8 +11274,8 @@ static void gen_compute_compact_branch(DisasContext *ctx, uint32_t opc,
|
|||
|
||||
if (ctx->hflags & MIPS_HFLAG_BMASK) {
|
||||
#ifdef MIPS_DEBUG_DISAS
|
||||
LOG_DISAS("Branch in delay / forbidden slot at PC 0x" TARGET_FMT_lx
|
||||
"\n", ctx->base.pc_next);
|
||||
LOG_DISAS("Branch in delay / forbidden slot at PC 0x%016"
|
||||
VADDR_PRIx "\n", ctx->base.pc_next);
|
||||
#endif
|
||||
gen_reserved_instruction(ctx);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue