Changeset 03c971f in mainline for kernel/generic/include
- Timestamp:
- 2013-08-15T14:20:16Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bb2a5b2
- Parents:
- f2c19b0 (diff), 2921602 (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. - Location:
- kernel/generic/include
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/debug.h
rf2c19b0 r03c971f 77 77 } while (0) 78 78 79 /** Static assert macro 80 * 81 */ 82 #define STATIC_ASSERT(expr) \ 83 _Static_assert(expr, "") 84 85 #define STATIC_ASSERT_VERBOSE(expr, msg) \ 86 _Static_assert(expr, msg) 87 88 79 89 #else /* CONFIG_DEBUG */ 80 90 81 91 #define ASSERT(expr) 82 92 #define ASSERT_VERBOSE(expr, msg) 93 #define STATIC_ASSERT(expr) 94 #define STATIC_ASSERT_VERBOSE(expr, msg) 83 95 84 96 #endif /* CONFIG_DEBUG */ -
kernel/generic/include/lib/memfnc.h
rf2c19b0 r03c971f 37 37 38 38 #include <typedefs.h> 39 #include <cc.h> 39 40 40 41 extern void *memset(void *, int, size_t) 41 __attribute__ ((optimize("-fno-tree-loop-distribute-patterns")));42 ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns"); 42 43 extern void *memcpy(void *, const void *, size_t) 43 __attribute__ ((optimize("-fno-tree-loop-distribute-patterns")));44 ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns"); 44 45 45 46 #endif -
kernel/generic/include/printf/verify.h
rf2c19b0 r03c971f 38 38 #ifndef NVERIFY_PRINTF 39 39 40 #ifdef __clang__ 41 #define PRINTF_ATTRIBUTE(start, end) \ 42 __attribute__((format(__printf__, start, end))) 43 #else 40 44 #define PRINTF_ATTRIBUTE(start, end) \ 41 45 __attribute__((format(gnu_printf, start, end))) 46 #endif 47 42 48 43 49 #else /* NVERIFY_PRINTF */
Note:
See TracChangeset
for help on using the changeset viewer.