Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

endian.h 728B

123456789101112131415161718192021
  1. #ifndef ETHERBOOT_ENDIAN_H
  2. #define ETHERBOOT_ENDIAN_H
  3. FILE_LICENCE ( GPL2_OR_LATER );
  4. /* Definitions for byte order, according to significance of bytes,
  5. from low addresses to high addresses. The value is what you get by
  6. putting '4' in the most significant byte, '3' in the second most
  7. significant byte, '2' in the second least significant byte, and '1'
  8. in the least significant byte, and then writing down one digit for
  9. each byte, starting with the byte at the lowest address at the left,
  10. and proceeding to the byte with the highest address at the right. */
  11. #define __LITTLE_ENDIAN 1234
  12. #define __BIG_ENDIAN 4321
  13. #define __PDP_ENDIAN 3412
  14. #include "bits/endian.h"
  15. #endif /* ETHERBOOT_ENDIAN_H */