Commit 514fb8c10e76fd861301719d14d6bae95125b54a

Authored by bellard
1 parent 53c862a8

removed traces


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@959 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 5 additions and 4 deletions
target-ppc/helper.c
... ... @@ -357,11 +357,11 @@ int get_physical_address (CPUState *env, uint32_t *physical, int *prot,
357 357 uint32_t address, int rw, int access_type)
358 358 {
359 359 int ret;
360   -
  360 +#if 0
361 361 if (loglevel > 0) {
362 362 fprintf(logfile, "%s\n", __func__);
363 363 }
364   -
  364 +#endif
365 365 if ((access_type == ACCESS_CODE && msr_ir == 0) ||
366 366 (access_type != ACCESS_CODE && msr_dr == 0)) {
367 367 /* No address translation */
... ... @@ -376,11 +376,12 @@ int get_physical_address (CPUState *env, uint32_t *physical, int *prot,
376 376 ret = get_segment(env, physical, prot, address, rw, access_type);
377 377 }
378 378 }
  379 +#if 0
379 380 if (loglevel > 0) {
380 381 fprintf(logfile, "%s address %08x => %08x\n",
381 382 __func__, address, *physical);
382 383 }
383   -
  384 +#endif
384 385 return ret;
385 386 }
386 387  
... ... @@ -439,7 +440,7 @@ void tlb_fill(unsigned long addr, int is_write, int is_user, void *retaddr)
439 440 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
440 441 tlb_addrr = env->tlb_read[is_user][index].address;
441 442 tlb_addrw = env->tlb_write[is_user][index].address;
442   -#if 1
  443 +#if 0
443 444 if (loglevel) {
444 445 fprintf(logfile,
445 446 "%s 1 %p %p idx=%d addr=0x%08lx tbl_addr=0x%08lx 0x%08lx "
... ...