mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
Fix ppc32 register dumps on 64-bit hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3723 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
493ae1f01c
commit
9b605b9eae
4 changed files with 14 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue