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] [xenppc-unstable] [POWERPC][XEN] Revert struct start_info to ma

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [POWERPC][XEN] Revert struct start_info to match upstream.
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 06 Feb 2007 20:20:15 +0000
Delivery-date: Tue, 06 Feb 2007 12:19:52 -0800
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>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID 20e5f508accc21f6aaf9ade60d9a5510512cb289
# Parent  f21875e3dc0be8c4e0de9936973cb35558f6c4bd
[POWERPC][XEN] Revert struct start_info to match upstream.
Now that libxc is no longer creating a start_info_t, we don't have to worry
about 32/64 bit safeness of unsigned longs in the structure. Use 
xen-unstable.hg's version of start_info.
Signed-off-by: Ryan Harper <ryanh@xxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/include/public/xen.h |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff -r f21875e3dc0b -r 20e5f508accc xen/include/public/xen.h
--- a/xen/include/public/xen.h  Tue Feb 06 13:42:19 2007 -0600
+++ b/xen/include/public/xen.h  Tue Feb 06 13:42:19 2007 -0600
@@ -501,8 +501,8 @@ struct start_info {
 struct start_info {
     /* THE FOLLOWING ARE FILLED IN BOTH ON INITIAL BOOT AND ON RESUME.    */
     char magic[32];             /* "xen-<version>-<platform>".            */
-    xen_ulong_t nr_pages;       /* Total pages allocated to this domain.  */
-    xen_ulong_t shared_info;    /* MACHINE address of shared info struct. */
+    unsigned long nr_pages;     /* Total pages allocated to this domain.  */
+    unsigned long shared_info;  /* MACHINE address of shared info struct. */
     uint32_t flags;             /* SIF_xxx flags.                         */
     xen_pfn_t store_mfn;        /* MACHINE page number of shared page.    */
     uint32_t store_evtchn;      /* Event channel for store communication. */
@@ -517,11 +517,11 @@ struct start_info {
         } dom0;
     } console;
     /* THE FOLLOWING ARE ONLY FILLED IN ON INITIAL BOOT (NOT RESUME).     */
-    xen_ulong_t pt_base;        /* VIRTUAL address of page directory.     */
-    xen_ulong_t nr_pt_frames;   /* Number of bootstrap p.t. frames.       */
-    xen_ulong_t mfn_list;       /* VIRTUAL address of page-frame list.    */
-    xen_ulong_t mod_start;      /* VIRTUAL address of pre-loaded module.  */
-    xen_ulong_t mod_len;        /* Size (bytes) of pre-loaded module.     */
+    unsigned long pt_base;      /* VIRTUAL address of page directory.     */
+    unsigned long nr_pt_frames; /* Number of bootstrap p.t. frames.       */
+    unsigned long mfn_list;     /* VIRTUAL address of page-frame list.    */
+    unsigned long mod_start;    /* VIRTUAL address of pre-loaded module.  */
+    unsigned long mod_len;      /* Size (bytes) of pre-loaded module.     */
     int8_t cmd_line[MAX_GUEST_CMDLINE];
 };
 typedef struct start_info start_info_t;

_______________________________________________
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] [xenppc-unstable] [POWERPC][XEN] Revert struct start_info to match upstream., Xen patchbot-xenppc-unstable <=