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] sizeof(long) different under windows x64 and linux x64

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] sizeof(long) different under windows x64 and linux x64
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2008 10:01:17 +1100
Delivery-date: Tue, 22 Jan 2008 15:01:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Thread-index: AchdSrG90Z1N8TraRe606mEHx5W7GA==
Thread-topic: sizeof(long) different under windows x64 and linux x64
Under gcc on an x64 system, sizeof(long) = 8
Under windows ddk on an x64 system, sizeof(long) = 4

Are the xen header files written with the assumption that sizeof(long) =
8? If so, this would explain why i'm getting EINVAL from the hypervisor
under windows x64...

James

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