|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] [LIBELF] Define PRIpfn next to xen_pfn_t
# 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>
|
- [Xen-devel] [PATCH] [LIBELF] Define PRIpfn next to xen_pfn_t,
Hollis Blanchard <=
|
|
|
|
|