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] "x86-64: EFI boot code" breaks 32-bit build

To: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: [Xen-devel] "x86-64: EFI boot code" breaks 32-bit build
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Tue, 28 Jun 2011 12:05:53 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, keir@xxxxxxx
Delivery-date: Tue, 28 Jun 2011 04:07:44 -0700
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
cc1: warnings being treated as errors
mpparse.c: In function 'efi_check_config':
mpparse.c:669: error: format '%08llx' expects type 'long long unsigned int', 
but argument 2 has type 'long unsigned int'

In xen/include/xen/efi.h:
23616:     unsigned long mps;          /* MPS table */

In xen/arch/x86/mpparse.c (line 669):
23616:          printk(KERN_INFO "SMP MP-table at %08"PRIx64"\n", efi.mps);

Should mps be uint64_t ?  What about the other fields in struct efi ?

Ian.

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

<Prev in Thread] Current Thread [Next in Thread>