[smsc75xx] Expose functionality shared with LAN78xx devices
[ipxe.git] / src / include / endian.h
1 #ifndef _ENDIAN_H
2 #define _ENDIAN_H
3
4 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
5
6 /** Constant representing little-endian byte order
7 *
8 * Little-endian systems should define BYTE_ORDER as LITTLE_ENDIAN.
9 * This constant is intended to be used only at compile time.
10 */
11 #define __LITTLE_ENDIAN 0x44332211UL
12
13 /** Constant representing big-endian byte order
14 *
15 * Big-endian systems should define BYTE_ORDER as BIG_ENDIAN.
16 * This constant is intended to be used only at compile time.
17 */
18 #define __BIG_ENDIAN 0x11223344UL
19
20 #include "bits/endian.h"
21
22 #endif /* _ENDIAN_H */