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 4/12] VTPM mini-os: Mini-os machine specific headers

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 4/12] VTPM mini-os: Mini-os machine specific headers
From: Matthew Fioravante <matthew.fioravante@xxxxxxxxxx>
Date: Fri, 11 Mar 2011 17:44:01 -0500
Delivery-date: Fri, 11 Mar 2011 14:51:19 -0800
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
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
This patch adds endian.h and byteorder.h to mini-os.

endian.h defines __BYTE_ORDER similar to how its done on linux and __WORDSIZE. byteorder.h defines the standard macros for cpu_to_be and friends for 16,32, and 64 bit.

The bswap inlines in byteswap.h were changed to macros to allow use in some initializer statements. A check is added to check gcc versions to use optimized gcc builtins if they are available.

Signed off by: Matthew Fioravante <matthew.fioravante@xxxxxxxxxx>

Attachment: 4-minios-machineheaders.patch
Description: Text Data

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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