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-ppc-devel

[XenPPC] [pushed] [ppc] sync this shared header with header in Xen

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed] [ppc] sync this shared header with header in Xen
From: jimix@xxxxxxxxxxxxxx
Date: Thu, 11 May 2006 15:41:15 -0400
Delivery-date: Thu, 11 May 2006 12:39:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   27800:257c44c865e917f285499125c2ca62c199312172
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Thu May 11 15:39:37 2006 -0400
files:       include/xen/interface/arch-ppc64.h
description:
[ppc] sync this shared header with header in Xen


diff -r 01213b903e6fd427667898177da2c9d8a1f5e9f7 -r 
257c44c865e917f285499125c2ca62c199312172 include/xen/interface/arch-ppc64.h
--- a/include/xen/interface/arch-ppc64.h        Wed May 10 15:35:53 2006 -0400
+++ b/include/xen/interface/arch-ppc64.h        Thu May 11 15:39:37 2006 -0400
@@ -20,18 +20,20 @@
 #ifndef __XEN_PUBLIC_ARCH_PPC_64_H__
 #define __XEN_PUBLIC_ARCH_PPC_64_H__
 
+#if !(defined(__XEN__) || defined(__XEN_TOOLS__))
+/* not sure how this is supposed to get asserted */
 #define __XEN_INTERFACE_VERSION__ 0x00030202
+#endif
 
-#ifdef __XEN__
 #define __DEFINE_XEN_GUEST_HANDLE(name, type) \
     typedef struct { type *p; } __guest_handle_ ## name
-#else
-#define __DEFINE_XEN_GUEST_HANDLE(name, type) \
-    typedef type * __guest_handle_ ## name
-#endif
 
 #define DEFINE_XEN_GUEST_HANDLE(name) __DEFINE_XEN_GUEST_HANDLE(name, name)
 #define XEN_GUEST_HANDLE(name)        __guest_handle_ ## name
+#define set_xen_guest_handle(hnd, val)  do { (hnd).p = val; } while (0)
+#ifdef __XEN_TOOLS__
+#define get_xen_guest_handle(val, hnd)  do { val = (hnd).p; } while (0)
+#endif
 
 #ifndef __ASSEMBLY__
 /* Guest handles for primitive C types. */
@@ -73,10 +75,10 @@ typedef struct cpu_user_regs
     uint64_t srr1;
     uint64_t pc;
     uint64_t msr;
-    uint32_t fpscr;
+    uint64_t fpscr;
+    uint64_t xer;
     uint32_t cr;
-    uint32_t xer;
-    uint32_t _pad;
+    uint32_t entry_vector;
 } cpu_user_regs_t;
 
 typedef uint64_t tsc_timestamp_t; /* RDTSC timestamp */ /* XXX timebase */



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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed] [ppc] sync this shared header with header in Xen, jimix <=