[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [POWERPC][XEN] Move shared page location to public header to share with libxc.



# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Date 1170790939 21600
# Node ID 4ce0b332b5722c187f8ad26cb23b00ead664ba93
# Parent  54530b945067cb9d12be4bead54a387ab7622d98
[POWERPC][XEN] Move shared page location to public header to share with libxc.
Signed-off-by: Ryan Harper <ryanh@xxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/domain_build.c   |    1 +
 xen/arch/powerpc/mm.c             |    1 +
 xen/include/asm-powerpc/domain.h  |    7 -------
 xen/include/public/arch-powerpc.h |    8 ++++++++
 4 files changed, 10 insertions(+), 7 deletions(-)

diff -r 54530b945067 -r 4ce0b332b572 xen/arch/powerpc/domain_build.c
--- a/xen/arch/powerpc/domain_build.c   Thu Jan 25 15:55:25 2007 -0500
+++ b/xen/arch/powerpc/domain_build.c   Tue Feb 06 13:42:19 2007 -0600
@@ -30,6 +30,7 @@
 #include <xen/version.h>
 #include <asm/processor.h>
 #include <asm/papr.h>
+#include <public/arch-powerpc.h>
 #include "oftree.h"
 
 extern int parseelfimage_32(struct domain_setup_info *dsi);
diff -r 54530b945067 -r 4ce0b332b572 xen/arch/powerpc/mm.c
--- a/xen/arch/powerpc/mm.c     Thu Jan 25 15:55:25 2007 -0500
+++ b/xen/arch/powerpc/mm.c     Tue Feb 06 13:42:19 2007 -0600
@@ -28,6 +28,7 @@
 #include <asm/init.h>
 #include <asm/page.h>
 #include <asm/string.h>
+#include <public/arch-powerpc.h>
 
 #ifdef VERBOSE
 #define MEM_LOG(_f, _a...)                                  \
diff -r 54530b945067 -r 4ce0b332b572 xen/include/asm-powerpc/domain.h
--- a/xen/include/asm-powerpc/domain.h  Thu Jan 25 15:55:25 2007 -0500
+++ b/xen/include/asm-powerpc/domain.h  Tue Feb 06 13:42:19 2007 -0600
@@ -107,13 +107,6 @@ extern void save_float(struct vcpu *);
 extern void save_float(struct vcpu *);
 extern void load_float(struct vcpu *);
 
-#define RMA_SHARED_INFO 1
-#define RMA_START_INFO 2
-#define RMA_LAST_DOM0 2
-/* these are not used for dom0 so they should be last */
-#define RMA_CONSOLE 3
-#define RMA_LAST_DOMU 3
-
 #define rma_size(rma_order) (1UL << ((rma_order) + PAGE_SHIFT))
 
 static inline ulong rma_addr(struct arch_domain *ad, int type)
diff -r 54530b945067 -r 4ce0b332b572 xen/include/public/arch-powerpc.h
--- a/xen/include/public/arch-powerpc.h Thu Jan 25 15:55:25 2007 -0500
+++ b/xen/include/public/arch-powerpc.h Tue Feb 06 13:42:19 2007 -0600
@@ -117,6 +117,14 @@ struct arch_vcpu_info {
 struct arch_vcpu_info {
 };
 
+#define RMA_SHARED_INFO 1
+#define RMA_START_INFO 2
+#define RMA_LAST_DOM0 2
+/* these are not used for dom0 so they should be last */
+#define RMA_CONSOLE 3
+#define RMA_STORE 4
+#define RMA_LAST_DOMU 4
+
 /* Support for multi-processor guests. */
 #define MAX_VIRT_CPUS 32
 #endif

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.