diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-24 02:03:55 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-24 02:03:55 +0000 |
commit | 6b542af760f44409b40441225fbef31a3b4bdbe1 (patch) | |
tree | d7371ec9d77673e4d2cb59a249750fe0cc0d0529 /target-ppc/op_helper.c | |
parent | 69facb7897ef6404175b4739751f9255fc0c8a2e (diff) |
Fix incorrect debug prints (reported by Paul Brook).
Remove obsolete / duplicated debug prints and improve output consistency.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3725 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r-- | target-ppc/op_helper.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 172dd48be4..1ea16951ba 100644 --- a/target-ppc/op_helper.c +++ b/target-ppc/op_helper.c @@ -2783,9 +2783,9 @@ void do_load_6xx_tlb (int is_code) way = (env->spr[SPR_SRR1] >> 17) & 1; #if defined (DEBUG_SOFTWARE_TLB) if (loglevel != 0) { - fprintf(logfile, "%s: EPN %08lx %08lx PTE0 %08lx PTE1 %08lx way %d\n", - __func__, (unsigned long)T0, (unsigned long)EPN, - (unsigned long)CMP, (unsigned long)RPN, way); + fprintf(logfile, "%s: EPN " TDX " " ADDRX " PTE0 " ADDRX + " PTE1 " ADDRX " way %d\n", + __func__, T0, EPN, CMP, RPN, way); } #endif /* Store this TLB */ @@ -2804,9 +2804,9 @@ void do_load_74xx_tlb (int is_code) way = env->spr[SPR_TLBMISS] & 0x3; #if defined (DEBUG_SOFTWARE_TLB) if (loglevel != 0) { - fprintf(logfile, "%s: EPN %08lx %08lx PTE0 %08lx PTE1 %08lx way %d\n", - __func__, (unsigned long)T0, (unsigned long)EPN, - (unsigned long)CMP, (unsigned long)RPN, way); + fprintf(logfile, "%s: EPN " TDX " " ADDRX " PTE0 " ADDRX + " PTE1 " ADDRX " way %d\n", + __func__, T0, EPN, CMP, RPN, way); } #endif /* Store this TLB */ @@ -2920,7 +2920,7 @@ void do_4xx_tlbwe_hi (void) #if defined (DEBUG_SOFTWARE_TLB) if (loglevel != 0) { - fprintf(logfile, "%s T0 " REGX " T1 " REGX "\n", __func__, T0, T1); + fprintf(logfile, "%s T0 " TDX " T1 " TDX "\n", __func__, T0, T1); } #endif T0 &= 0x3F; @@ -2989,7 +2989,7 @@ void do_4xx_tlbwe_lo (void) #if defined (DEBUG_SOFTWARE_TLB) if (loglevel != 0) { - fprintf(logfile, "%s T0 " REGX " T1 " REGX "\n", __func__, T0, T1); + fprintf(logfile, "%s T0 " TDX " T1 " TDX "\n", __func__, T0, T1); } #endif T0 &= 0x3F; @@ -3022,7 +3022,7 @@ void do_440_tlbwe (int word) #if defined (DEBUG_SOFTWARE_TLB) if (loglevel != 0) { - fprintf(logfile, "%s word %d T0 " REGX " T1 " REGX "\n", + fprintf(logfile, "%s word %d T0 " TDX " T1 " TDX "\n", __func__, word, T0, T1); } #endif |