xref: /illumos-gate/usr/src/grub/grub-0.97/netboot/endian.h (revision 241c90a06e8d1708235651863df515a2d522a03a)
1 #ifndef ETHERBOOT_ENDIAN_H
2 #define ETHERBOOT_ENDIAN_H
3 
4 /* Definitions for byte order, according to significance of bytes,
5    from low addresses to high addresses.  The value is what you get by
6    putting '4' in the most significant byte, '3' in the second most
7    significant byte, '2' in the second least significant byte, and '1'
8    in the least significant byte, and then writing down one digit for
9    each byte, starting with the byte at the lowest address at the left,
10    and proceeding to the byte with the highest address at the right.  */
11 
12 #define __LITTLE_ENDIAN 1234
13 #define __BIG_ENDIAN    4321
14 #define __PDP_ENDIAN    3412
15 
16 #include "i386_endian.h"
17 
18 
19 #endif /* ETHERBOOT_ENDIAN_H */
20