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] 64-session-id.patch

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] 64-session-id.patch
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Mon, 13 Jun 2005 18:10:54 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Jun 2005 01:07:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
User-agent: Mutt/1.4.1i
session_id is an opaque pointer, so should be wider on 64 bit platforms.

Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>
Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>

--- a/tools/python/xen/lowlevel/xu/xu.c Mon Jun 13 17:54:12 2005
+++ b/tools/python/xen/lowlevel/xu/xu.c Mon Jun 13 18:06:14 2005
@@ -72,7 +72,7 @@
 
 static int xcs_ctrl_fd = -1; /* control connection to the xcs server. */
 static int xcs_data_fd = -1; /*    data connection to the xcs server. */
-static u32 xcs_session_id = 0;
+static unsigned long  xcs_session_id = 0;
 
 static int xcs_ctrl_send(xcs_msg_t *msg);
 static int xcs_ctrl_read(xcs_msg_t *msg);
--- a/tools/xcs/xcs_proto.h     Mon Jun 13 17:54:12 2005
+++ b/tools/xcs/xcs_proto.h     Mon Jun 13 18:06:14 2005
@@ -40,7 +40,7 @@
 #define TYPE_VIRQ      0xfffe
 
 typedef struct {
-    u32 session_id;
+    unsigned long  session_id;
 } xcs_connect_msg_t;
 
 typedef struct {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] 64-session-id.patch, Arun Sharma <=