aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-09-30 22:39:51 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-03 06:41:09 +0000
commit7fd3f494409775b491ca08f9026c45da13852a6d (patch)
treedf450ce5eafd77bed31e3f4765a776173f32cd9e
parentb832134d8ab6cb455bf182c99e5610803d8d2500 (diff)
downloadqemu-7fd3f494409775b491ca08f9026c45da13852a6d.zip
qemu-7fd3f494409775b491ca08f9026c45da13852a6d.tar.gz
qemu-7fd3f494409775b491ca08f9026c45da13852a6d.tar.bz2
exec: Fix compilation error for debug code
is_softmmu was removed with commit d4c430a80f000d722bb70287af4d4c184a8d7006, so remove it now from debug code, too. Fix also the format specifier for paddr in the same line of code. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--exec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/exec.c b/exec.c
index 9b5464f..1fbe91c 100644
--- a/exec.c
+++ b/exec.c
@@ -2173,8 +2173,9 @@ void tlb_set_page(CPUState *env, target_ulong vaddr,
pd = p->phys_offset;
}
#if defined(DEBUG_TLB)
- printf("tlb_set_page: vaddr=" TARGET_FMT_lx " paddr=0x%08x prot=%x idx=%d smmu=%d pd=0x%08lx\n",
- vaddr, (int)paddr, prot, mmu_idx, is_softmmu, pd);
+ printf("tlb_set_page: vaddr=" TARGET_FMT_lx " paddr=0x" TARGET_FMT_plx
+ " prot=%x idx=%d pd=0x%08lx\n",
+ vaddr, paddr, prot, mmu_idx, pd);
#endif
address = vaddr;