Changes in kernel/arch/mips32/include/types.h [cc0eb1d:d99c1d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/types.h
rcc0eb1d rd99c1d2 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 35 35 #ifndef KERN_mips32_TYPES_H_ 36 36 #define KERN_mips32_TYPES_H_ 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 37 48 38 typedef uint32_t size_t; … … 55 45 typedef uint32_t unative_t; 56 46 typedef int32_t native_t; 47 typedef uint32_t atomic_count_t; 57 48 58 49 typedef struct { 59 50 } fncptr_t; 60 51 61 #define PRIp "x" 62 #define PRIs "u" 52 #define PRIp "x" /**< Format for uintptr_t. */ 53 #define PRIs "u" /**< Format for size_t. */ 63 54 64 #define PRId8 "d" 65 #define PRId16 "d" 66 #define PRId32 "ld" 67 #define PRId64 "lld" 68 #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. */ 69 60 70 #define PRIu8 "u" 71 #define PRIu16 "u" 72 #define PRIu32 "u" 73 #define PRIu64 "llu" 74 #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. */ 75 66 76 #define PRIx8 "x" 77 #define PRIx16 "x" 78 #define PRIx32 "x" 79 #define PRIx64 "llx" 80 #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. */ 81 72 82 73 #endif
Note:
See TracChangeset
for help on using the changeset viewer.