qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] hw/sh7750.c: use TARGET_FMT_plx to printf target_phys_addr_t
@ 2007-11-11 15:49 Carlo Marcelo Arenas Belon
  2007-11-18 21:18 ` [Qemu-devel] [PATCH] [RESEND] " Carlo Marcelo Arenas Belon
  0 siblings, 1 reply; 10+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-11-11 15:49 UTC (permalink / raw)
  To: qemu-devel

The following patch changes the formatting string from %08x to TARGET_FMT_plx
to accommodate for 64bit hosts.

Carlo

---
Index: hw/sh7750.c
===================================================================
RCS file: /sources/qemu/qemu/hw/sh7750.c,v
retrieving revision 1.9
diff -u -r1.9 sh7750.c
--- hw/sh7750.c	4 Oct 2007 21:53:54 -0000	1.9
+++ hw/sh7750.c	11 Nov 2007 15:27:31 -0000
@@ -180,13 +180,13 @@
 
 static void error_access(const char *kind, target_phys_addr_t addr)
 {
-    fprintf(stderr, "%s to %s (0x%08x) not supported\n",
+    fprintf(stderr, "%s to %s (0x" TARGET_FMT_plx ") not supported\n",
 	    kind, regname(addr), addr);
 }
 
 static void ignore_access(const char *kind, target_phys_addr_t addr)
 {
-    fprintf(stderr, "%s to %s (0x%08x) ignored\n",
+    fprintf(stderr, "%s to %s (0x" TARGET_FMT_plx ") ignored\n",
 	    kind, regname(addr), addr);
 }
 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-11-30 18:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-11 15:49 [Qemu-devel] [PATCH] hw/sh7750.c: use TARGET_FMT_plx to printf target_phys_addr_t Carlo Marcelo Arenas Belon
2007-11-18 21:18 ` [Qemu-devel] [PATCH] [RESEND] " Carlo Marcelo Arenas Belon
2007-11-30  5:36   ` Magnus Damm
2007-11-30 15:21     ` Carlo Marcelo Arenas Belon
2007-11-30 15:37       ` Blue Swirl
2007-11-30 16:11         ` Carlo Marcelo Arenas Belon
2007-11-30 16:50         ` Paul Brook
2007-11-30 17:16           ` Blue Swirl
2007-11-30 17:42             ` Paul Brook
2007-11-30 18:45               ` Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).