WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] [LIBELF] Define PRIpfn next to xen_pfn_t

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [LIBELF] Define PRIpfn next to xen_pfn_t
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Fri, 09 Feb 2007 14:25:45 -0500
Cc: Gerd Hoffmann <kraxel@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 09 Feb 2007 12:26:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Date 1171052619 21600
# Node ID 6b436fc00c9c829214ffed93e0d1397d8b13bc45
# Parent  77a31b7a529a551565a903baf50ed395ce6628ee
[LIBELF] Define PRIpfn next to xen_pfn_t.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>

diff -r 77a31b7a529a -r 6b436fc00c9c tools/libxc/xc_dom.h
--- a/tools/libxc/xc_dom.h      Fri Feb 09 14:18:56 2007 -0600
+++ b/tools/libxc/xc_dom.h      Fri Feb 09 14:23:39 2007 -0600
@@ -6,11 +6,6 @@
 
 typedef uint64_t xen_vaddr_t;
 typedef uint64_t xen_paddr_t;
-
-/* FIXME: temporary hack ... */
-#ifndef PRIpfn
-#define PRIpfn "lx"
-#endif
 
 struct xc_dom_seg {
     xen_vaddr_t vstart;
diff -r 77a31b7a529a -r 6b436fc00c9c xen/include/public/arch-ia64.h
--- a/xen/include/public/arch-ia64.h    Fri Feb 09 14:18:56 2007 -0600
+++ b/xen/include/public/arch-ia64.h    Fri Feb 09 14:23:39 2007 -0600
@@ -55,6 +55,7 @@ DEFINE_XEN_GUEST_HANDLE(void);
 
 typedef unsigned long xen_pfn_t;
 DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
+#define PRIpfn "lx"
 #endif
 
 /* Arch specific VIRQs definition */
diff -r 77a31b7a529a -r 6b436fc00c9c xen/include/public/arch-powerpc.h
--- a/xen/include/public/arch-powerpc.h Fri Feb 09 14:18:56 2007 -0600
+++ b/xen/include/public/arch-powerpc.h Fri Feb 09 14:23:39 2007 -0600
@@ -56,6 +56,7 @@ DEFINE_XEN_GUEST_HANDLE(void);
 
 typedef unsigned long long xen_pfn_t;
 DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
+#define PRIpfn "llx"
 #endif
 
 /*
diff -r 77a31b7a529a -r 6b436fc00c9c xen/include/public/arch-x86/xen.h
--- a/xen/include/public/arch-x86/xen.h Fri Feb 09 14:18:56 2007 -0600
+++ b/xen/include/public/arch-x86/xen.h Fri Feb 09 14:23:39 2007 -0600
@@ -61,6 +61,7 @@ DEFINE_XEN_GUEST_HANDLE(void);
 
 typedef unsigned long xen_pfn_t;
 DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
+#define PRIpfn "lx"
 #endif
 
 /*

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>