1*8044SWilliam.Kucharski@Sun.COM #ifndef ETHERBOOT_ENDIAN_H 2*8044SWilliam.Kucharski@Sun.COM #define ETHERBOOT_ENDIAN_H 3*8044SWilliam.Kucharski@Sun.COM 4*8044SWilliam.Kucharski@Sun.COM /* Definitions for byte order, according to significance of bytes, 5*8044SWilliam.Kucharski@Sun.COM from low addresses to high addresses. The value is what you get by 6*8044SWilliam.Kucharski@Sun.COM putting '4' in the most significant byte, '3' in the second most 7*8044SWilliam.Kucharski@Sun.COM significant byte, '2' in the second least significant byte, and '1' 8*8044SWilliam.Kucharski@Sun.COM in the least significant byte, and then writing down one digit for 9*8044SWilliam.Kucharski@Sun.COM each byte, starting with the byte at the lowest address at the left, 10*8044SWilliam.Kucharski@Sun.COM and proceeding to the byte with the highest address at the right. */ 11*8044SWilliam.Kucharski@Sun.COM 12*8044SWilliam.Kucharski@Sun.COM #define __LITTLE_ENDIAN 1234 13*8044SWilliam.Kucharski@Sun.COM #define __BIG_ENDIAN 4321 14*8044SWilliam.Kucharski@Sun.COM #define __PDP_ENDIAN 3412 15*8044SWilliam.Kucharski@Sun.COM 16*8044SWilliam.Kucharski@Sun.COM #include "i386_endian.h" 17*8044SWilliam.Kucharski@Sun.COM 18*8044SWilliam.Kucharski@Sun.COM 19*8044SWilliam.Kucharski@Sun.COM #endif /* ETHERBOOT_ENDIAN_H */ 20