Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

big_bswap.h 569B

123456789101112131415161718192021
  1. #ifndef ETHERBOOT_BIG_BSWAP_H
  2. #define ETHERBOOT_BIG_BSWAP_H
  3. #define ntohl(x) (x)
  4. #define htonl(x) (x)
  5. #define ntohs(x) (x)
  6. #define htons(x) (x)
  7. #define cpu_to_le64(x) __bswap_64(x)
  8. #define cpu_to_le32(x) __bswap_32(x)
  9. #define cpu_to_le16(x) __bswap_16(x)
  10. #define cpu_to_be64(x) (x)
  11. #define cpu_to_be32(x) (x)
  12. #define cpu_to_be16(x) (x)
  13. #define le64_to_cpu(x) __bswap_64(x)
  14. #define le32_to_cpu(x) __bswap_32(x)
  15. #define le16_to_cpu(x) __bswap_16(x)
  16. #define be64_to_cpu(x) (x)
  17. #define be32_to_cpu(x) (x)
  18. #define be16_to_cpu(x) (x)
  19. #endif /* ETHERBOOT_BIG_BSWAP_H */