summaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-21 16:57:45 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-21 16:57:45 +0000
commit514fb8c10e76fd861301719d14d6bae95125b54a (patch)
tree662f0715619bdc25ac4925184a9f99beab729733 /target-ppc
parent53c862a88e209ecfb42d47a16ce92f92daf68c0a (diff)
downloadqemu-514fb8c10e76fd861301719d14d6bae95125b54a.tar.gz
qemu-514fb8c10e76fd861301719d14d6bae95125b54a.tar.bz2
qemu-514fb8c10e76fd861301719d14d6bae95125b54a.zip
removed traces
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@959 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/helper.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index ef3e22d66d..dab8585601 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -357,11 +357,11 @@ int get_physical_address (CPUState *env, uint32_t *physical, int *prot,
uint32_t address, int rw, int access_type)
{
int ret;
-
+#if 0
if (loglevel > 0) {
fprintf(logfile, "%s\n", __func__);
}
-
+#endif
if ((access_type == ACCESS_CODE && msr_ir == 0) ||
(access_type != ACCESS_CODE && msr_dr == 0)) {
/* No address translation */
@@ -376,11 +376,12 @@ int get_physical_address (CPUState *env, uint32_t *physical, int *prot,
ret = get_segment(env, physical, prot, address, rw, access_type);
}
}
+#if 0
if (loglevel > 0) {
fprintf(logfile, "%s address %08x => %08x\n",
__func__, address, *physical);
}
-
+#endif
return ret;
}
@@ -439,7 +440,7 @@ void tlb_fill(unsigned long addr, int is_write, int is_user, void *retaddr)
index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
tlb_addrr = env->tlb_read[is_user][index].address;
tlb_addrw = env->tlb_write[is_user][index].address;
-#if 1
+#if 0
if (loglevel) {
fprintf(logfile,
"%s 1 %p %p idx=%d addr=0x%08lx tbl_addr=0x%08lx 0x%08lx "