iPXE
endian.h
Go to the documentation of this file.
00001 #ifndef _ENDIAN_H
00002 #define _ENDIAN_H
00003 
00004 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00005 
00006 /** Constant representing little-endian byte order
00007  *
00008  * Little-endian systems should define BYTE_ORDER as LITTLE_ENDIAN.
00009  * This constant is intended to be used only at compile time.
00010  */
00011 #define __LITTLE_ENDIAN 0x44332211UL
00012 
00013 /** Constant representing big-endian byte order
00014  *
00015  * Big-endian systems should define BYTE_ORDER as BIG_ENDIAN.
00016  * This constant is intended to be used only at compile time.
00017  */
00018 #define __BIG_ENDIAN 0x11223344UL
00019 
00020 #include "bits/endian.h"
00021 
00022 #endif /* _ENDIAN_H */