Skip to content

Commit

Permalink
Hexagon (target/hexagon) print new mode on mode change
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
  • Loading branch information
taylorsimpson authored and androm3da committed Jul 2, 2024
1 parent 2cc2b3b commit e0937b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target/hexagon/hex_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ void hex_mmu_off(CPUHexagonState *env)

void hex_mmu_mode_change(CPUHexagonState *env)
{
qemu_log_mask(CPU_LOG_MMU, "Hexagon mode change!\n");
qemu_log_mask(CPU_LOG_MMU, "Hexagon mode change: new mode is %s\n",
get_sys_str(env));
CPUState *cs = env_cpu(env);
tlb_flush(cs);
}
Expand Down

0 comments on commit e0937b9

Please sign in to comment.