endian.h

Go to the documentation of this file.
00001 #ifndef ETHERBOOT_ENDIAN_H
00002 #define ETHERBOOT_ENDIAN_H
00003 
00004 FILE_LICENCE ( GPL2_OR_LATER );
00005 
00006 /* Definitions for byte order, according to significance of bytes,
00007    from low addresses to high addresses.  The value is what you get by
00008    putting '4' in the most significant byte, '3' in the second most
00009    significant byte, '2' in the second least significant byte, and '1'
00010    in the least significant byte, and then writing down one digit for
00011    each byte, starting with the byte at the lowest address at the left,
00012    and proceeding to the byte with the highest address at the right.  */
00013 
00014 #define __LITTLE_ENDIAN 1234
00015 #define __BIG_ENDIAN    4321
00016 #define __PDP_ENDIAN    3412
00017 
00018 #include "bits/endian.h"
00019 
00020 
00021 #endif /* ETHERBOOT_ENDIAN_H */

Generated on Tue Apr 6 20:01:06 2010 for gPXE by  doxygen 1.5.7.1