您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

big_bswap.h 441B

1234567891011121314151617
  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_le32(x) __bswap_32(x)
  8. #define cpu_to_le16(x) __bswap_16(x)
  9. #define cpu_to_be32(x) (x)
  10. #define cpu_to_be16(x) (x)
  11. #define le32_to_cpu(x) __bswap_32(x)
  12. #define le16_to_cpu(x) __bswap_16(x)
  13. #define be32_to_cpu(x) (x)
  14. #define be16_to_cpu(x) (x)
  15. #endif /* ETHERBOOT_BIG_BSWAP_H */