diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-18 08:19:46 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-28 10:38:23 +0200 |
commit | 3501795f1e12cdfdc0a32265e7050ff1186c5341 (patch) | |
tree | bc868a3a16136b1e01c1f01785c7e141d3e91874 /spec/if/rtems/basedefs | |
parent | 8fcd040208c9e1b3075b9aa54b4b7f6e4352beca (diff) |
Change format of enabled-by attribute
Diffstat (limited to 'spec/if/rtems/basedefs')
50 files changed, 89 insertions, 93 deletions
diff --git a/spec/if/rtems/basedefs/alias.yml b/spec/if/rtems/basedefs/alias.yml index dfaee293..71b5e695 100644 --- a/spec/if/rtems/basedefs/alias.yml +++ b/spec/if/rtems/basedefs/alias.yml @@ -1,11 +1,11 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Instructs the compiler to generate an alias to the specified target function. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__alias__(#_target))) diff --git a/spec/if/rtems/basedefs/aligned.yml b/spec/if/rtems/basedefs/aligned.yml index 5b48bc34..f9f91da8 100644 --- a/spec/if/rtems/basedefs/aligned.yml +++ b/spec/if/rtems/basedefs/aligned.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Instructs the compiler in a declaration or definition to enforce the specified alignment. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__aligned__(_alignment))) diff --git a/spec/if/rtems/basedefs/alloc-align.yml b/spec/if/rtems/basedefs/alloc-align.yml index a10a85cd..7f88b298 100644 --- a/spec/if/rtems/basedefs/alloc-align.yml +++ b/spec/if/rtems/basedefs/alloc-align.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a declaration that the memory allocation alignment parameter of this function is similar to aligned_alloc(). interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__alloc_align__(_index))) diff --git a/spec/if/rtems/basedefs/alloc-size-2.yml b/spec/if/rtems/basedefs/alloc-size-2.yml index a2a6e407..83355529 100644 --- a/spec/if/rtems/basedefs/alloc-size-2.yml +++ b/spec/if/rtems/basedefs/alloc-size-2.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a declaration that the memory allocation item count and item size parameter of this function is similar to calloc(). interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__alloc_size__(_count_index, _size_index))) diff --git a/spec/if/rtems/basedefs/alloc-size.yml b/spec/if/rtems/basedefs/alloc-size.yml index 1b15bea6..a8eb1075 100644 --- a/spec/if/rtems/basedefs/alloc-size.yml +++ b/spec/if/rtems/basedefs/alloc-size.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a declaration that the memory allocation size parameter of this function is similar to malloc(). interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__alloc_size__(_index))) diff --git a/spec/if/rtems/basedefs/array-size.yml b/spec/if/rtems/basedefs/array-size.yml index fdd8ca63..0d061eb7 100644 --- a/spec/if/rtems/basedefs/array-size.yml +++ b/spec/if/rtems/basedefs/array-size.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Returns the element count of the specified array. interface-definition: diff --git a/spec/if/rtems/basedefs/compiler-deprecated-attribute.yml b/spec/if/rtems/basedefs/compiler-deprecated-attribute.yml index 38416d19..fbfbab58 100644 --- a/spec/if/rtems/basedefs/compiler-deprecated-attribute.yml +++ b/spec/if/rtems/basedefs/compiler-deprecated-attribute.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Provided for backward compatibility. interface-definition: diff --git a/spec/if/rtems/basedefs/compiler-memory-barrier.yml b/spec/if/rtems/basedefs/compiler-memory-barrier.yml index 05558956..823df984 100644 --- a/spec/if/rtems/basedefs/compiler-memory-barrier.yml +++ b/spec/if/rtems/basedefs/compiler-memory-barrier.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | This macro forbids the compiler to reorder read and write commands around it. interface-definition: diff --git a/spec/if/rtems/basedefs/compiler-no-return-attribute.yml b/spec/if/rtems/basedefs/compiler-no-return-attribute.yml index b4c58f9a..36dece0a 100644 --- a/spec/if/rtems/basedefs/compiler-no-return-attribute.yml +++ b/spec/if/rtems/basedefs/compiler-no-return-attribute.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Provided for backward compatibility. interface-definition: diff --git a/spec/if/rtems/basedefs/compiler-packed-attribute.yml b/spec/if/rtems/basedefs/compiler-packed-attribute.yml index 559b384f..a666ea86 100644 --- a/spec/if/rtems/basedefs/compiler-packed-attribute.yml +++ b/spec/if/rtems/basedefs/compiler-packed-attribute.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Provided for backward compatibility. interface-definition: diff --git a/spec/if/rtems/basedefs/compiler-pure-attribute.yml b/spec/if/rtems/basedefs/compiler-pure-attribute.yml index 2f58587d..bf843987 100644 --- a/spec/if/rtems/basedefs/compiler-pure-attribute.yml +++ b/spec/if/rtems/basedefs/compiler-pure-attribute.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Provided for backward compatibility. interface-definition: diff --git a/spec/if/rtems/basedefs/compiler-used-attribute.yml b/spec/if/rtems/basedefs/compiler-used-attribute.yml index 93625fed..c12480ac 100644 --- a/spec/if/rtems/basedefs/compiler-used-attribute.yml +++ b/spec/if/rtems/basedefs/compiler-used-attribute.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Provided for backward compatibility. interface-definition: diff --git a/spec/if/rtems/basedefs/concat.yml b/spec/if/rtems/basedefs/concat.yml index 014096e3..153bc682 100644 --- a/spec/if/rtems/basedefs/concat.yml +++ b/spec/if/rtems/basedefs/concat.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Concatenates _x and _y without expanding. interface-definition: diff --git a/spec/if/rtems/basedefs/const.yml b/spec/if/rtems/basedefs/const.yml index 302637d8..4de8c525 100644 --- a/spec/if/rtems/basedefs/const.yml +++ b/spec/if/rtems/basedefs/const.yml @@ -1,13 +1,13 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2019 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a function declaration that this function has no effect except the return value and that the return value depends only on the value of parameters. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__const__)) diff --git a/spec/if/rtems/basedefs/container-of.yml b/spec/if/rtems/basedefs/container-of.yml index 8da027fd..e7e7f136 100644 --- a/spec/if/rtems/basedefs/container-of.yml +++ b/spec/if/rtems/basedefs/container-of.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2014 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Returns the pointer to the container of a specified member pointer. interface-definition: diff --git a/spec/if/rtems/basedefs/declare-global-symbol.yml b/spec/if/rtems/basedefs/declare-global-symbol.yml index 68b6953f..5036a305 100644 --- a/spec/if/rtems/basedefs/declare-global-symbol.yml +++ b/spec/if/rtems/basedefs/declare-global-symbol.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Declares a global symbol with the specified name. interface-definition: diff --git a/spec/if/rtems/basedefs/deconst.yml b/spec/if/rtems/basedefs/deconst.yml index 81b1e373..bc983583 100644 --- a/spec/if/rtems/basedefs/deconst.yml +++ b/spec/if/rtems/basedefs/deconst.yml @@ -2,13 +2,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) - Copyright (C) 2014 Paval Pisa -enabled-by: [] +enabled-by: true interface-brief: | Performs a type cast which removes const qualifiers without warnings to the specified type for the specified pointer variable. interface-definition: - default: - ${dequalify-depthx:/interface-name}(*, _type, _var) + default: ${dequalify-depthx:/interface-name}(*, _type, _var) variants: [] interface-description: null interface-name: RTEMS_DECONST diff --git a/spec/if/rtems/basedefs/define-global-symbol.yml b/spec/if/rtems/basedefs/define-global-symbol.yml index 2abb27c5..357439dc 100644 --- a/spec/if/rtems/basedefs/define-global-symbol.yml +++ b/spec/if/rtems/basedefs/define-global-symbol.yml @@ -1,11 +1,11 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2018, 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Defines a global symbol with the specified name and value. interface-definition: - default: "" + default: '' variants: - definition: | __asm__( diff --git a/spec/if/rtems/basedefs/deprecated.yml b/spec/if/rtems/basedefs/deprecated.yml index c2079b7b..d9f207f4 100644 --- a/spec/if/rtems/basedefs/deprecated.yml +++ b/spec/if/rtems/basedefs/deprecated.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2009 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Instructs the compiler in a declaration to issue a warning whenever a variable, function, or type using this declaration will be used. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__deprecated__)) diff --git a/spec/if/rtems/basedefs/dequalify-depthx.yml b/spec/if/rtems/basedefs/dequalify-depthx.yml index 8858a3ea..8afbaf4b 100644 --- a/spec/if/rtems/basedefs/dequalify-depthx.yml +++ b/spec/if/rtems/basedefs/dequalify-depthx.yml @@ -2,16 +2,15 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) - Copyright (C) 2014 Paval Pisa -enabled-by: [] +enabled-by: true interface-brief: | Performs a type cast which removes qualifiers without warnings to the specified type for the specified variable. interface-definition: - default: - ((_type)(${/if/c/uintptr_t:/interface-name})(const volatile void *)(_var)) + default: ((_type)(${/if/c/uintptr_t:/interface-name})(const volatile void *)(_var)) variants: - definition: | - (const_cast<_type>(_var)) + (const_cast<_type>(_var)) enabled-by: - defined(${/if/compiler/cplusplus:/interface-name}) - definition: | diff --git a/spec/if/rtems/basedefs/dequalify.yml b/spec/if/rtems/basedefs/dequalify.yml index 5c9cde66..0042a53d 100644 --- a/spec/if/rtems/basedefs/dequalify.yml +++ b/spec/if/rtems/basedefs/dequalify.yml @@ -2,13 +2,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) - Copyright (C) 2014 Paval Pisa -enabled-by: [] +enabled-by: true interface-brief: | Performs a type cast which removes all qualifiers without warnings to the specified type for the specified pointer variable. interface-definition: - default: - ${dequalify-depthx:/interface-name}(*, _type, _var) + default: ${dequalify-depthx:/interface-name}(*, _type, _var) variants: [] interface-description: null interface-name: RTEMS_DEQUALIFY diff --git a/spec/if/rtems/basedefs/devolatile.yml b/spec/if/rtems/basedefs/devolatile.yml index d2bf898b..bd240f4d 100644 --- a/spec/if/rtems/basedefs/devolatile.yml +++ b/spec/if/rtems/basedefs/devolatile.yml @@ -2,13 +2,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) - Copyright (C) 2014 Paval Pisa -enabled-by: [] +enabled-by: true interface-brief: | Performs a type cast which removes volatile qualifiers without warnings to the specified type for the specified pointer variable. interface-definition: - default: - ${dequalify-depthx:/interface-name}(*, _type, _var) + default: ${dequalify-depthx:/interface-name}(*, _type, _var) variants: [] interface-description: null interface-name: RTEMS_DEVOLATILE diff --git a/spec/if/rtems/basedefs/expand.yml b/spec/if/rtems/basedefs/expand.yml index e6857f6e..c6bf2697 100644 --- a/spec/if/rtems/basedefs/expand.yml +++ b/spec/if/rtems/basedefs/expand.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Helper macro to perform a macro expansion on the specified token. interface-definition: diff --git a/spec/if/rtems/basedefs/have-member-same-type.yml b/spec/if/rtems/basedefs/have-member-same-type.yml index 1928c693..516ab639 100644 --- a/spec/if/rtems/basedefs/have-member-same-type.yml +++ b/spec/if/rtems/basedefs/have-member-same-type.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2017 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Evaluates to true if the specified members of two types have compatible types, otherwise to false. diff --git a/spec/if/rtems/basedefs/header.yml b/spec/if/rtems/basedefs/header.yml index 500a373f..fdb4ff9e 100644 --- a/spec/if/rtems/basedefs/header.yml +++ b/spec/if/rtems/basedefs/header.yml @@ -1,25 +1,25 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-domain: rtems +interface-path: rtems/score/basedefs.h +interface-prefix: cpukit/include interface-type: header-file links: -- role: interface-include +- enabled-by: [] + role: interface-include uid: /if/build-options/cpuopts - enabled-by: [] -- role: interface-include +- enabled-by: + not: ASM + role: interface-include uid: /if/c/stddef - enabled-by: +- enabled-by: not: ASM -- role: interface-include + role: interface-include uid: /if/c/stdbool - enabled-by: +- enabled-by: not: ASM -- role: interface-include + role: interface-include uid: /if/c/stdint - enabled-by: - not: ASM -interface-path: rtems/score/basedefs.h -interface-prefix: cpukit/include type: interface diff --git a/spec/if/rtems/basedefs/inline-routine.yml b/spec/if/rtems/basedefs/inline-routine.yml index 49912ef8..bd8555a9 100644 --- a/spec/if/rtems/basedefs/inline-routine.yml +++ b/spec/if/rtems/basedefs/inline-routine.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Gives a hint to the compiler in a function declaration to inline this function. diff --git a/spec/if/rtems/basedefs/malloclike.yml b/spec/if/rtems/basedefs/malloclike.yml index 5c76442a..221ec5f1 100644 --- a/spec/if/rtems/basedefs/malloclike.yml +++ b/spec/if/rtems/basedefs/malloclike.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a declaration that this function is a memory allocation function similar to malloc(). interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__malloc__)) diff --git a/spec/if/rtems/basedefs/no-inline.yml b/spec/if/rtems/basedefs/no-inline.yml index 591bdc0f..4b6b85f2 100644 --- a/spec/if/rtems/basedefs/no-inline.yml +++ b/spec/if/rtems/basedefs/no-inline.yml @@ -1,11 +1,11 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Instructs the compiler in a function declaration to not inline this function. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__noinline__)) diff --git a/spec/if/rtems/basedefs/no-return.yml b/spec/if/rtems/basedefs/no-return.yml index e2279647..408c86a2 100644 --- a/spec/if/rtems/basedefs/no-return.yml +++ b/spec/if/rtems/basedefs/no-return.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a function declaration that this function does not return. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__noreturn__)) diff --git a/spec/if/rtems/basedefs/obfuscate-variable.yml b/spec/if/rtems/basedefs/obfuscate-variable.yml index e3d377fd..10e117aa 100644 --- a/spec/if/rtems/basedefs/obfuscate-variable.yml +++ b/spec/if/rtems/basedefs/obfuscate-variable.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2016, 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Obfuscates the variable so that the compiler cannot perform optimizations based on the variable value. diff --git a/spec/if/rtems/basedefs/packed.yml b/spec/if/rtems/basedefs/packed.yml index c192fc8f..131b248d 100644 --- a/spec/if/rtems/basedefs/packed.yml +++ b/spec/if/rtems/basedefs/packed.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Instructs the compiler in a type definition to place members of a structure or union so that the memory required is minimized. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__packed__)) diff --git a/spec/if/rtems/basedefs/predict-false.yml b/spec/if/rtems/basedefs/predict-false.yml index a6e5f090..347b4114 100644 --- a/spec/if/rtems/basedefs/predict-false.yml +++ b/spec/if/rtems/basedefs/predict-false.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Returns the value of the specified integral expression and tells the compiler that the predicted value is false (1). diff --git a/spec/if/rtems/basedefs/predict-true.yml b/spec/if/rtems/basedefs/predict-true.yml index 7c0ef55b..fb4d20c2 100644 --- a/spec/if/rtems/basedefs/predict-true.yml +++ b/spec/if/rtems/basedefs/predict-true.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Returns the value of the specified integral expression and tells the compiler that the predicted value is true (1). diff --git a/spec/if/rtems/basedefs/printflike.yml b/spec/if/rtems/basedefs/printflike.yml index c04e2d11..b40c7456 100644 --- a/spec/if/rtems/basedefs/printflike.yml +++ b/spec/if/rtems/basedefs/printflike.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a declaration that this function expects printf()-like arguments. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__format__(__printf__, _format_pos, _ap_pos))) diff --git a/spec/if/rtems/basedefs/pure.yml b/spec/if/rtems/basedefs/pure.yml index 5ce7aadc..82fb0228 100644 --- a/spec/if/rtems/basedefs/pure.yml +++ b/spec/if/rtems/basedefs/pure.yml @@ -1,13 +1,13 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2011 On-Line Applications Research Corporation (OAR) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a function declaration that this function has no effect except the return value and that the return value depends only on the value of parameters and/or global variables. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__pure__)) diff --git a/spec/if/rtems/basedefs/return-address.yml b/spec/if/rtems/basedefs/return-address.yml index 02529fba..7791b71c 100644 --- a/spec/if/rtems/basedefs/return-address.yml +++ b/spec/if/rtems/basedefs/return-address.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2019 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Returns the return address of the current function. interface-definition: diff --git a/spec/if/rtems/basedefs/section.yml b/spec/if/rtems/basedefs/section.yml index cf0cc7ee..f8236464 100644 --- a/spec/if/rtems/basedefs/section.yml +++ b/spec/if/rtems/basedefs/section.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Instructs the compiler to place a specific variable or function in the specified section. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__section__(_section))) diff --git a/spec/if/rtems/basedefs/static-assert.yml b/spec/if/rtems/basedefs/static-assert.yml index 92571992..27c05f4f 100644 --- a/spec/if/rtems/basedefs/static-assert.yml +++ b/spec/if/rtems/basedefs/static-assert.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2011, 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Asserts at compile time that the specified condition is satisfied. interface-definition: diff --git a/spec/if/rtems/basedefs/string.yml b/spec/if/rtems/basedefs/string.yml index 9b4eab4a..73ceb85b 100644 --- a/spec/if/rtems/basedefs/string.yml +++ b/spec/if/rtems/basedefs/string.yml @@ -1,11 +1,11 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Stringifies _x without expanding. interface-definition: - default: "#_x" + default: '#_x' variants: [] interface-description: null interface-name: RTEMS_STRING diff --git a/spec/if/rtems/basedefs/symbol-name.yml b/spec/if/rtems/basedefs/symbol-name.yml index 8008a3bb..968b3830 100644 --- a/spec/if/rtems/basedefs/symbol-name.yml +++ b/spec/if/rtems/basedefs/symbol-name.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Constructs a symbol name. interface-definition: diff --git a/spec/if/rtems/basedefs/typeof-refx.yml b/spec/if/rtems/basedefs/typeof-refx.yml index b6a6f0c7..5a96a325 100644 --- a/spec/if/rtems/basedefs/typeof-refx.yml +++ b/spec/if/rtems/basedefs/typeof-refx.yml @@ -2,11 +2,11 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) - Copyright (C) 2014 Paval Pisa -enabled-by: [] +enabled-by: true interface-brief: | Returns the type of a pointer reference of the specified level to the specified type. interface-definition: - default: "" + default: '' variants: - definition: | ${/if/compiler/typeof:/interface-name}(_level(union { int z; ${/if/compiler/typeof:/interface-name}(_target) x; }){0}.x) diff --git a/spec/if/rtems/basedefs/unreachable.yml b/spec/if/rtems/basedefs/unreachable.yml index 91182c09..76787629 100644 --- a/spec/if/rtems/basedefs/unreachable.yml +++ b/spec/if/rtems/basedefs/unreachable.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler that this program point is unreachable. interface-definition: diff --git a/spec/if/rtems/basedefs/unused.yml b/spec/if/rtems/basedefs/unused.yml index 0a8a31b5..6caa5fbd 100644 --- a/spec/if/rtems/basedefs/unused.yml +++ b/spec/if/rtems/basedefs/unused.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2013 On-Line Applications Research Corporation (OAR) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler that a specific variable or function is deliberately unused. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__unused__)) diff --git a/spec/if/rtems/basedefs/used.yml b/spec/if/rtems/basedefs/used.yml index 88a78745..d9d029aa 100644 --- a/spec/if/rtems/basedefs/used.yml +++ b/spec/if/rtems/basedefs/used.yml @@ -1,11 +1,11 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2009 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler that a specific variable or function is used. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__used__)) diff --git a/spec/if/rtems/basedefs/warn-unused-result.yml b/spec/if/rtems/basedefs/warn-unused-result.yml index 05905c26..b6f1c8d4 100644 --- a/spec/if/rtems/basedefs/warn-unused-result.yml +++ b/spec/if/rtems/basedefs/warn-unused-result.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a declaration that the result of this function should be used. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__warn_unused_result__)) diff --git a/spec/if/rtems/basedefs/weak-alias.yml b/spec/if/rtems/basedefs/weak-alias.yml index 31a772d0..fb497193 100644 --- a/spec/if/rtems/basedefs/weak-alias.yml +++ b/spec/if/rtems/basedefs/weak-alias.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2017 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Instructs the compiler to generate a weak alias to the specified target function. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__weak__, __alias__(#_target))) diff --git a/spec/if/rtems/basedefs/weak.yml b/spec/if/rtems/basedefs/weak.yml index f53b4aab..6b9cd64f 100644 --- a/spec/if/rtems/basedefs/weak.yml +++ b/spec/if/rtems/basedefs/weak.yml @@ -1,12 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Tells the compiler in a function definition that this function should be weak. interface-definition: - default: "" + default: '' variants: - definition: | __attribute__((__weak__)) diff --git a/spec/if/rtems/basedefs/xconcat.yml b/spec/if/rtems/basedefs/xconcat.yml index 9b25e7a3..7f2ded39 100644 --- a/spec/if/rtems/basedefs/xconcat.yml +++ b/spec/if/rtems/basedefs/xconcat.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Concatenates expansion of _x and expansion of _y. interface-definition: diff --git a/spec/if/rtems/basedefs/xstring.yml b/spec/if/rtems/basedefs/xstring.yml index 66048de5..f70fa9ef 100644 --- a/spec/if/rtems/basedefs/xstring.yml +++ b/spec/if/rtems/basedefs/xstring.yml @@ -1,7 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | Stringifies the expansion of _x. interface-definition: diff --git a/spec/if/rtems/basedefs/zero-length-array.yml b/spec/if/rtems/basedefs/zero-length-array.yml index c0526186..189fb0a3 100644 --- a/spec/if/rtems/basedefs/zero-length-array.yml +++ b/spec/if/rtems/basedefs/zero-length-array.yml @@ -1,11 +1,11 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2014 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: [] +enabled-by: true interface-brief: | This is a constant to declare zero-length arrays. interface-definition: - default: "0" + default: '0' variants: [] interface-description: | Zero-length arrays are valid in C99 as flexible array members. C++11 does |