iPXE
include
endian.h
Go to the documentation of this file.
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
#ifndef __LITTLE_ENDIAN
12
#define __LITTLE_ENDIAN 0x44332211UL
13
#endif
14
15
/** Constant representing big-endian byte order
16
*
17
* Big-endian systems should define BYTE_ORDER as BIG_ENDIAN.
18
* This constant is intended to be used only at compile time.
19
*/
20
#ifndef __BIG_ENDIAN
21
#define __BIG_ENDIAN 0x11223344UL
22
#endif
23
24
#include "
bits/endian.h
"
25
26
#endif
/* _ENDIAN_H */
FILE_LICENCE
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
endian.h
Generated by
1.8.15