david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/include/endian.h

23 lines
567 B
C

#ifndef _ENDIAN_H
#define _ENDIAN_H
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/** Constant representing little-endian byte order
*
* Little-endian systems should define BYTE_ORDER as LITTLE_ENDIAN.
* This constant is intended to be used only at compile time.
*/
#define __LITTLE_ENDIAN 0x44332211UL
/** Constant representing big-endian byte order
*
* Big-endian systems should define BYTE_ORDER as BIG_ENDIAN.
* This constant is intended to be used only at compile time.
*/
#define __BIG_ENDIAN 0x11223344UL
#include "bits/endian.h"
#endif /* _ENDIAN_H */