Changeset c55dd58 in mainline for kernel/arch/sparc64/include/byteorder.h
- Timestamp:
- 2006-11-30T15:37:16Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c19cf28
- Parents:
- 058b021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/byteorder.h
r058b021 rc55dd58 36 36 #define KERN_sparc64_BYTEORDER_H_ 37 37 38 #include <arch/types.h>39 38 #include <byteorder.h> 40 39 41 static inline uint64_t uint64_t_le2host(uint64_t n) 42 { 43 return uint64_t_byteorder_swap(n); 44 } 40 #define uint32_t_le2host(n) uint64_t_byteorder_swap(n) 41 #define uint64_t_le2host(n) uint32_t_byteorder_swap(n) 45 42 46 static inline unative_t unative_t_le2host(unative_t n) 47 { 48 return uint64_t_byteorder_swap(n); 49 } 43 #define uint32_t_be2host(n) (n) 44 #define uint64_t_be2host(n) (n) 50 45 51 46 #endif
Note:
See TracChangeset
for help on using the changeset viewer.