Changes in kernel/arch/ia64/include/types.h [d99c1d2:38428aa3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/include/types.h
rd99c1d2 r38428aa3 27 27 */ 28 28 29 /** @addtogroup ia64 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 35 35 #ifndef KERN_ia64_TYPES_H_ 36 36 #define KERN_ia64_TYPES_H_ 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; 37 55 38 56 typedef uint64_t size_t; … … 45 63 typedef uint64_t unative_t; 46 64 typedef int64_t native_t; 47 typedef uint64_t atomic_count_t;48 65 49 66 typedef struct { … … 52 69 } __attribute__((may_alias)) fncptr_t; 53 70 54 #define PRIp "lx" 55 #define PRIs "lu" 71 #define PRIp "lx" /**< Format for uintptr_t. */ 72 #define PRIs "lu" /**< Format for size_t. */ 56 73 57 #define PRId8 "d" 58 #define PRId16 "d" 59 #define PRId32 "d" 60 #define PRId64 "ld" 61 #define PRIdn "d" 74 #define PRId8 "d" /**< Format for int8_t. */ 75 #define PRId16 "d" /**< Format for int16_t. */ 76 #define PRId32 "d" /**< Format for int32_t. */ 77 #define PRId64 "ld" /**< Format for int64_t. */ 78 #define PRIdn "d" /**< Format for native_t. */ 62 79 63 #define PRIu8 "u" 64 #define PRIu16 "u" 65 #define PRIu32 "u" 66 #define PRIu64 "lu" 67 #define PRIun "u" 80 #define PRIu8 "u" /**< Format for uint8_t. */ 81 #define PRIu16 "u" /**< Format for uint16_t. */ 82 #define PRIu32 "u" /**< Format for uint32_t. */ 83 #define PRIu64 "lu" /**< Format for uint64_t. */ 84 #define PRIun "u" /**< Format for unative_t. */ 68 85 69 #define PRIx8 "x" 70 #define PRIx16 "x" 71 #define PRIx32 "x" 72 #define PRIx64 "lx" 73 #define PRIxn "x" 86 #define PRIx8 "x" /**< Format for hexadecimal (u)int8_t. */ 87 #define PRIx16 "x" /**< Format for hexadecimal (u)int16_t. */ 88 #define PRIx32 "x" /**< Format for hexadecimal (u)uint32_t. */ 89 #define PRIx64 "lx" /**< Format for hexadecimal (u)int64_t. */ 90 #define PRIxn "x" /**< Format for hexadecimal (u)native_t. */ 74 91 75 92 #endif
Note:
See TracChangeset
for help on using the changeset viewer.