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-changelog

[Xen-changelog] Fix 64-bit compile warnings in firmware.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix 64-bit compile warnings in firmware.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Oct 2005 16:38:11 +0000
Delivery-date: Wed, 12 Oct 2005 16:36:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 29db5bded574aa378a15f85a4ceb5653c3ed1837
# Parent  f3aa156fda6a2213cce6f5574e7804f5f1c9fb66
Fix 64-bit compile warnings in firmware.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r f3aa156fda6a -r 29db5bded574 tools/firmware/vmxassist/gen.c
--- a/tools/firmware/vmxassist/gen.c    Wed Oct 12 12:21:06 2005
+++ b/tools/firmware/vmxassist/gen.c    Wed Oct 12 15:15:02 2005
@@ -27,26 +27,26 @@
 {
        printf("/* MACHINE GENERATED; DO NOT EDIT */\n");
        printf("#define VMX_ASSIST_CTX_GS_SEL   0x%x\n",
-               offsetof(struct vmx_assist_context, gs_sel));
+               (unsigned int)offsetof(struct vmx_assist_context, gs_sel));
        printf("#define VMX_ASSIST_CTX_FS_SEL   0x%x\n",
-               offsetof(struct vmx_assist_context, fs_sel));
+               (unsigned int)offsetof(struct vmx_assist_context, fs_sel));
        printf("#define VMX_ASSIST_CTX_DS_SEL   0x%x\n",
-               offsetof(struct vmx_assist_context, ds_sel));
+               (unsigned int)offsetof(struct vmx_assist_context, ds_sel));
        printf("#define VMX_ASSIST_CTX_ES_SEL   0x%x\n",
-               offsetof(struct vmx_assist_context, es_sel));
+               (unsigned int)offsetof(struct vmx_assist_context, es_sel));
        printf("#define VMX_ASSIST_CTX_SS_SEL   0x%x\n",
-               offsetof(struct vmx_assist_context, ss_sel));
+               (unsigned int)offsetof(struct vmx_assist_context, ss_sel));
        printf("#define VMX_ASSIST_CTX_ESP      0x%x\n",
-               offsetof(struct vmx_assist_context, esp));
+               (unsigned int)offsetof(struct vmx_assist_context, esp));
        printf("#define VMX_ASSIST_CTX_EFLAGS   0x%x\n",
-               offsetof(struct vmx_assist_context, eflags));
+               (unsigned int)offsetof(struct vmx_assist_context, eflags));
        printf("#define VMX_ASSIST_CTX_CS_SEL   0x%x\n",
-               offsetof(struct vmx_assist_context, cs_sel));
+               (unsigned int)offsetof(struct vmx_assist_context, cs_sel));
        printf("#define VMX_ASSIST_CTX_EIP      0x%x\n",
-               offsetof(struct vmx_assist_context, eip));
+               (unsigned int)offsetof(struct vmx_assist_context, eip));
 
        printf("#define VMX_ASSIST_CTX_CR0      0x%x\n",
-               offsetof(struct vmx_assist_context, cr0));
+               (unsigned int)offsetof(struct vmx_assist_context, cr0));
 
        return 0;
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix 64-bit compile warnings in firmware., Xen patchbot -unstable <=