Changeset 46c20c8 in mainline for kernel/arch/amd64/include/types.h
- Timestamp:
- 2010-11-26T20:08:10Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45df59a
- Parents:
- fb150d78 (diff), ffdd2b9 (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
-
kernel/arch/amd64/include/types.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/types.h
rfb150d78 r46c20c8 36 36 #define KERN_amd64_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 long int64_t;42 43 typedef unsigned char uint8_t;44 typedef unsigned short uint16_t;45 typedef unsigned int uint32_t;46 typedef unsigned long long uint64_t;47 48 38 typedef uint64_t size_t; 49 39 … … 55 45 typedef uint64_t unative_t; 56 46 typedef int64_t native_t; 47 typedef uint64_t atomic_count_t; 57 48 58 49 typedef struct { 59 50 } fncptr_t; 60 51 61 /**< Formats for uintptr_t, size_t */ 62 #define PRIp "llx" 63 #define PRIs "llu" 52 #define INTN_C(c) INT64_C(c) 53 #define UINTN_C(c) UINT64_C(c) 64 54 65 /**< Formats for (u)int8_t, (u)int16_t, (u)int32_t, (u)int64_t and (u)native_t */ 66 #define PRId8 "d" 67 #define PRId16 "d" 68 #define PRId32 "d" 69 #define PRId64 "lld" 70 #define PRIdn "lld" 71 72 #define PRIu8 "u" 73 #define PRIu16 "u" 74 #define PRIu32 "u" 75 #define PRIu64 "llu" 76 #define PRIun "llu" 77 78 #define PRIx8 "x" 79 #define PRIx16 "x" 80 #define PRIx32 "x" 81 #define PRIx64 "llx" 82 #define PRIxn "llx" 55 #define PRIdn PRId64 /**< Format for native_t. */ 56 #define PRIun PRIu64 /**< Format for unative_t. */ 57 #define PRIxn PRIx64 /**< Format for hexadecimal unative_t. */ 58 #define PRIua PRIu64 /**< Format for atomic_count_t. */ 83 59 84 60 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
