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