Changeset ab3a851 in mainline for kernel/generic/include/macros.h
- Timestamp:
- 2010-11-30T00:50:25Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b2981aa
- Parents:
- 178673c (diff), 41a7f62 (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/generic/include/macros.h
r178673c rab3a851 104 104 #define STRING_ARG(arg) #arg 105 105 106 #define LOWER32(arg) (((uint64_t) (arg)) & 0xffffffff)107 #define UPPER32(arg) (((((uint64_t) arg)) >> 32) & 0xffffffff)106 #define LOWER32(arg) (((uint64_t) (arg)) & UINT32_C(0xffffffff)) 107 #define UPPER32(arg) (((((uint64_t) arg)) >> 32) & UINT32_C(0xffffffff)) 108 108 109 109 #define MERGE_LOUP32(lo, up) \ 110 ((((uint64_t) (lo)) & 0xffffffff) \111 | ((((uint64_t) (up)) & 0xffffffff) << 32))110 ((((uint64_t) (lo)) & UINT32_C(0xffffffff)) \ 111 | ((((uint64_t) (up)) & UINT32_C(0xffffffff)) << 32)) 112 112 113 113 /** Pseudorandom generator
Note:
See TracChangeset
for help on using the changeset viewer.