Changeset 76ca3f7 in mainline for kernel/arch/ia64/include/types.h
- Timestamp:
- 2010-03-23T20:49:54Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e417b96
- Parents:
- b48ebd19 (diff), 63f8966 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/include/types.h
rb48ebd19 r76ca3f7 36 36 #define KERN_ia64_TYPES_H_ 37 37 38 typedef signed char int8_t;39 typedef signed short int16_t;40 typedef signed int int32_t;41 typedef signed long int64_t;42 typedef struct {43 int64_t lo;44 int64_t hi;45 } int128_t;46 47 typedef unsigned char uint8_t;48 typedef unsigned short uint16_t;49 typedef unsigned int uint32_t;50 typedef unsigned long uint64_t;51 typedef struct {52 uint64_t lo;53 uint64_t hi;54 } uint128_t;55 56 38 typedef uint64_t size_t; 57 39 … … 70 52 } __attribute__((may_alias)) fncptr_t; 71 53 72 #define PRIp "lx" 73 #define PRIs "lu" 54 #define PRIp "lx" /**< Format for uintptr_t. */ 55 #define PRIs "lu" /**< Format for size_t. */ 74 56 75 #define PRId8 "d" 76 #define PRId16 "d" 77 #define PRId32 "d" 78 #define PRId64 "ld" 79 #define PRIdn "d" 57 #define PRId8 "d" /**< Format for int8_t. */ 58 #define PRId16 "d" /**< Format for int16_t. */ 59 #define PRId32 "d" /**< Format for int32_t. */ 60 #define PRId64 "ld" /**< Format for int64_t. */ 61 #define PRIdn "d" /**< Format for native_t. */ 80 62 81 #define PRIu8 "u" 82 #define PRIu16 "u" 83 #define PRIu32 "u" 84 #define PRIu64 "lu" 85 #define PRIun "u" 63 #define PRIu8 "u" /**< Format for uint8_t. */ 64 #define PRIu16 "u" /**< Format for uint16_t. */ 65 #define PRIu32 "u" /**< Format for uint32_t. */ 66 #define PRIu64 "lu" /**< Format for uint64_t. */ 67 #define PRIun "u" /**< Format for unative_t. */ 86 68 87 #define PRIx8 "x" 88 #define PRIx16 "x" 89 #define PRIx32 "x" 90 #define PRIx64 "lx" 91 #define PRIxn "x" 69 #define PRIx8 "x" /**< Format for hexadecimal (u)int8_t. */ 70 #define PRIx16 "x" /**< Format for hexadecimal (u)int16_t. */ 71 #define PRIx32 "x" /**< Format for hexadecimal (u)uint32_t. */ 72 #define PRIx64 "lx" /**< Format for hexadecimal (u)int64_t. */ 73 #define PRIxn "x" /**< Format for hexadecimal (u)native_t. */ 92 74 93 75 #endif
Note:
See TracChangeset
for help on using the changeset viewer.