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>
4-minios-machineheaders.patch
Description: Text Data
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|