Changeset 76ca3f7 in mainline for kernel/arch/mips32/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/mips32/include/types.h
rb48ebd19 r76ca3f7 36 36 #define KERN_mips32_TYPES_H_ 37 37 38 typedef signed char int8_t;39 typedef signed short int16_t;40 typedef signed long int32_t;41 typedef signed long long int64_t;42 43 typedef unsigned char uint8_t;44 typedef unsigned short uint16_t;45 typedef unsigned long uint32_t;46 typedef unsigned long long uint64_t;47 48 38 typedef uint32_t size_t; 49 39 … … 60 50 } fncptr_t; 61 51 62 #define PRIp "x" 63 #define PRIs "u" 52 #define PRIp "x" /**< Format for uintptr_t. */ 53 #define PRIs "u" /**< Format for size_t. */ 64 54 65 #define PRId8 "d" 66 #define PRId16 "d" 67 #define PRId32 "ld" 68 #define PRId64 "lld" 69 #define PRIdn "d" 55 #define PRId8 "d" /**< Format for int8_t. */ 56 #define PRId16 "d" /**< Format for int16_t. */ 57 #define PRId32 "ld" /**< Format for int32_t. */ 58 #define PRId64 "lld" /**< Format for int64_t. */ 59 #define PRIdn "d" /**< Format for native_t. */ 70 60 71 #define PRIu8 "u" 72 #define PRIu16 "u" 73 #define PRIu32 "u" 74 #define PRIu64 "llu" 75 #define PRIun "u" 61 #define PRIu8 "u" /**< Format for uint8_t. */ 62 #define PRIu16 "u" /**< Format for uint16_t. */ 63 #define PRIu32 "u" /**< Format for uint32_t. */ 64 #define PRIu64 "llu" /**< Format for uint64_t. */ 65 #define PRIun "u" /**< Format for unative_t. */ 76 66 77 #define PRIx8 "x" 78 #define PRIx16 "x" 79 #define PRIx32 "x" 80 #define PRIx64 "llx" 81 #define PRIxn "x" 67 #define PRIx8 "x" /**< Format for hexadecimal (u)int8_t. */ 68 #define PRIx16 "x" /**< Format for hexadecimal (u)int16_t. */ 69 #define PRIx32 "x" /**< Format for hexadecimal (u)uint32_t. */ 70 #define PRIx64 "llx" /**< Format for hexadecimal (u)int64_t. */ 71 #define PRIxn "x" /**< Format for hexadecimal (u)native_t. */ 82 72 83 73 #endif
Note:
See TracChangeset
for help on using the changeset viewer.