mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
TARGET_FMT_lu may also be useful.
Fix compilation warnings. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3190 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5eb7995e34
commit
71c8b8fd7b
3 changed files with 6 additions and 2 deletions
|
@ -2537,7 +2537,8 @@ void do_4xx_tlbwe_hi (void)
|
|||
* of the ppc or ppc64 one
|
||||
*/
|
||||
if ((T1 & 0x40) && tlb->size < TARGET_PAGE_SIZE) {
|
||||
cpu_abort(env, "TLB size %u < %u are not supported (%d)\n",
|
||||
cpu_abort(env, "TLB size " TARGET_FMT_lu " < %u "
|
||||
"are not supported (%d)\n",
|
||||
tlb->size, TARGET_PAGE_SIZE, (int)((T1 >> 7) & 0x7));
|
||||
}
|
||||
tlb->EPN = (T1 & 0xFFFFFC00) & ~(tlb->size - 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue