Changeset 33c4f72 in mainline for kernel/generic/include/verify.h
- Timestamp:
- 2010-06-25T13:38:30Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc81981
- Parents:
- 09a0bd4a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/verify.h
r09a0bd4a r33c4f72 39 39 #ifdef CONFIG_VERIFY_VCC 40 40 41 #define ATOMIC __spec_attr("atomic_inline", "") 42 #define REQUIRES(...) __requires(__VA_ARGS__) 41 #define ATOMIC __specification_attr("atomic_inline", "") 42 #define READS(...) __specification(reads(__VA_ARGS__)) 43 #define WRITES(...) __specification(writes(__VA_ARGS__)) 44 #define REQUIRES(...) __specification(requires __VA_ARGS__) 45 46 #define REQUIRES_EXTENT_MUTABLE(...) \ 47 REQUIRES(\extent_mutable(__VA_ARGS__)) 43 48 44 49 #else /* CONFIG_VERIFY_VCC */ 45 50 46 51 #define ATOMIC 52 #define READS(...) 53 #define WRITES(...) 47 54 #define REQUIRES(...) 55 56 #define REQUIRES_EXTENT_MUTABLE(...) 48 57 49 58 #endif /* CONFIG_VERIFY_VCC */
Note:
See TracChangeset
for help on using the changeset viewer.