]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tricore: avoid "naked" qemu_log
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Nov 2015 12:35:27 +0000 (13:35 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Dec 2015 16:33:48 +0000 (17:33 +0100)
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-tricore/helper.c

index 1808b281f53e765e35151c198ba7eff832f354f9..1b70429f3ad4948a34d1ba449182ddc11cdc58de 100644 (file)
@@ -65,8 +65,8 @@ int cpu_tricore_handle_mmu_fault(CPUState *cs, target_ulong address,
     access_type = ACCESS_INT;
     ret = get_physical_address(env, &physical, &prot,
                                address, rw, access_type);
-    qemu_log("%s address=" TARGET_FMT_lx " ret %d physical " TARGET_FMT_plx
-             " prot %d\n", __func__, address, ret, physical, prot);
+    qemu_log_mask(CPU_LOG_MMU, "%s address=" TARGET_FMT_lx " ret %d physical " TARGET_FMT_plx
+                  " prot %d\n", __func__, address, ret, physical, prot);
 
     if (ret == TLBRET_MATCH) {
         tlb_set_page(cs, address & TARGET_PAGE_MASK,