Revision 514fb8c1 target-ppc/helper.c

b/target-ppc/helper.c
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 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 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 "

Also available in: Unified diff