diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-23 17:33:12 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-23 17:33:12 +0000 |
commit | 9b605b9eaee7845353f32aed23e8b9085bfa44ee (patch) | |
tree | e4150ea6372a563393d2ef2ca0df258190288feb /target-ppc/op_helper.c | |
parent | 493ae1f01cad47c3b4143059e986ba76e4d5202e (diff) |
Fix ppc32 register dumps on 64-bit hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3723 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r-- | target-ppc/op_helper.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 172dd48be4..1a36dfaef1 100644 --- a/target-ppc/op_helper.c +++ b/target-ppc/op_helper.c @@ -2920,7 +2920,8 @@ 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 " REGX " T1 " REGX "\n", __func__, + (target_ulong)T0, (target_ulong)T1); } #endif T0 &= 0x3F; @@ -2989,7 +2990,8 @@ 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 " REGX " T1 " REGX "\n", __func__, + (targt_ulong)T0, (target_ulong)T1); } #endif T0 &= 0x3F; @@ -3023,7 +3025,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", - __func__, word, T0, T1); + __func__, word, (target_ulong)T0, (target_ulong)T1); } #endif do_flush_tlbs = 0; |