You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

endian.h 438B

1234567891011121314151617
  1. /*
  2. * Copyright (C) 2004 Tobias Lorenz
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef ETHERBOOT_BITS_ENDIAN_H
  9. #define ETHERBOOT_BITS_ENDIAN_H
  10. #ifdef __ARMEB__
  11. #define __BYTE_ORDER __BIG_ENDIAN
  12. #else
  13. #define __BYTE_ORDER __LITTLE_ENDIAN
  14. #endif
  15. #endif /* ETHERBOOT_BITS_ENDIAN_H */