summaryrefslogtreecommitdiffstats
path: root/spec/if/rtems/basedefs
diff options
context:
space:
mode:
Diffstat (limited to 'spec/if/rtems/basedefs')
-rw-r--r--spec/if/rtems/basedefs/alias.yml31
-rw-r--r--spec/if/rtems/basedefs/align-down.yml35
-rw-r--r--spec/if/rtems/basedefs/align-up.yml35
-rw-r--r--spec/if/rtems/basedefs/aligned.yml32
-rw-r--r--spec/if/rtems/basedefs/alloc-align.yml32
-rw-r--r--spec/if/rtems/basedefs/alloc-size-2.yml36
-rw-r--r--spec/if/rtems/basedefs/alloc-size.yml32
-rw-r--r--spec/if/rtems/basedefs/array-size.yml28
-rw-r--r--spec/if/rtems/basedefs/compiler-deprecated-attribute.yml20
-rw-r--r--spec/if/rtems/basedefs/compiler-memory-barrier.yml28
-rw-r--r--spec/if/rtems/basedefs/compiler-no-return-attribute.yml20
-rw-r--r--spec/if/rtems/basedefs/compiler-packed-attribute.yml20
-rw-r--r--spec/if/rtems/basedefs/compiler-pure-attribute.yml20
-rw-r--r--spec/if/rtems/basedefs/compiler-used-attribute.yml20
-rw-r--r--spec/if/rtems/basedefs/concat.yml32
-rw-r--r--spec/if/rtems/basedefs/const.yml25
-rw-r--r--spec/if/rtems/basedefs/container-of.yml37
-rw-r--r--spec/if/rtems/basedefs/declare-global-symbol.yml29
-rw-r--r--spec/if/rtems/basedefs/deconst.yml33
-rw-r--r--spec/if/rtems/basedefs/define-global-symbol.yml44
-rw-r--r--spec/if/rtems/basedefs/deprecated.yml24
-rw-r--r--spec/if/rtems/basedefs/dequalify-depthx.yml50
-rw-r--r--spec/if/rtems/basedefs/dequalify.yml33
-rw-r--r--spec/if/rtems/basedefs/devolatile.yml33
-rw-r--r--spec/if/rtems/basedefs/expand.yml27
-rw-r--r--spec/if/rtems/basedefs/false.yml19
-rw-r--r--spec/if/rtems/basedefs/group.yml19
-rw-r--r--spec/if/rtems/basedefs/have-member-same-type.yml48
-rw-r--r--spec/if/rtems/basedefs/header.yml29
-rw-r--r--spec/if/rtems/basedefs/inline-routine.yml23
-rw-r--r--spec/if/rtems/basedefs/malloclike.yml24
-rw-r--r--spec/if/rtems/basedefs/no-inline.yml23
-rw-r--r--spec/if/rtems/basedefs/no-return.yml24
-rw-r--r--spec/if/rtems/basedefs/obfuscate-variable.yml34
-rw-r--r--spec/if/rtems/basedefs/packed.yml24
-rw-r--r--spec/if/rtems/basedefs/predict-false.yml33
-rw-r--r--spec/if/rtems/basedefs/predict-true.yml33
-rw-r--r--spec/if/rtems/basedefs/printflike.yml37
-rw-r--r--spec/if/rtems/basedefs/pure.yml25
-rw-r--r--spec/if/rtems/basedefs/return-address.yml27
-rw-r--r--spec/if/rtems/basedefs/section.yml32
-rw-r--r--spec/if/rtems/basedefs/static-assert.yml41
-rw-r--r--spec/if/rtems/basedefs/string.yml28
-rw-r--r--spec/if/rtems/basedefs/symbol-name.yml33
-rw-r--r--spec/if/rtems/basedefs/true.yml19
-rw-r--r--spec/if/rtems/basedefs/typeof-refx.yml37
-rw-r--r--spec/if/rtems/basedefs/unreachable.yml29
-rw-r--r--spec/if/rtems/basedefs/unused.yml24
-rw-r--r--spec/if/rtems/basedefs/used.yml23
-rw-r--r--spec/if/rtems/basedefs/warn-unused-result.yml24
-rw-r--r--spec/if/rtems/basedefs/weak-alias.yml32
-rw-r--r--spec/if/rtems/basedefs/weak.yml26
-rw-r--r--spec/if/rtems/basedefs/xconcat.yml34
-rw-r--r--spec/if/rtems/basedefs/xstring.yml28
-rw-r--r--spec/if/rtems/basedefs/zero-length-array.yml25
55 files changed, 0 insertions, 1613 deletions
diff --git a/spec/if/rtems/basedefs/alias.yml b/spec/if/rtems/basedefs/alias.yml
deleted file mode 100644
index 17559f54..00000000
--- a/spec/if/rtems/basedefs/alias.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Instructs the compiler to generate an alias to the specified target function.
-copyrights:
-- Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__alias__(#_target)))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_ALIAS
-notes: null
-params:
-- description: |
- is the target function name.
- dir: null
- name: _target
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/align-down.yml b/spec/if/rtems/basedefs/align-down.yml
deleted file mode 100644
index a309b03f..00000000
--- a/spec/if/rtems/basedefs/align-down.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Returns the specified value aligned down to the specified alignment.
-copyrights:
-- Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ( ( ${.:/params[0]/name} ) & ~( ( ${.:/params[1]/name} ) - 1 ) )
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_ALIGN_DOWN
-notes: null
-params:
-- description: |
- is the value to align down.
- dir: null
- name: _value
-- description: |
- is the desired alignment in bytes. The alignment shall be a power of two,
- otherwise the returned value is undefined. The alignment parameter is
- evaluated twice.
- dir: null
- name: _alignment
-return:
- return: |
- The specified value aligned down to the specified alignment is returned.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/align-up.yml b/spec/if/rtems/basedefs/align-up.yml
deleted file mode 100644
index cb3a46dd..00000000
--- a/spec/if/rtems/basedefs/align-up.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Returns the specified value aligned up to the specified alignment.
-copyrights:
-- Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ( ( ( ${.:/params[0]/name} ) + ( ${.:/params[1]/name} ) - 1 ) & ~( ( ${.:/params[1]/name} ) - 1 ) )
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_ALIGN_UP
-notes: null
-params:
-- description: |
- is the value to align up.
- dir: null
- name: _value
-- description: |
- is the desired alignment in bytes. The alignment shall be a power of two,
- otherwise the returned value is undefined. The alignment parameter is
- evaluated twice.
- dir: null
- name: _alignment
-return:
- return: |
- The specified value aligned up to the specified alignment is returned.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/aligned.yml b/spec/if/rtems/basedefs/aligned.yml
deleted file mode 100644
index 5aa5256e..00000000
--- a/spec/if/rtems/basedefs/aligned.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Instructs the compiler in a declaration or definition to enforce the
- specified alignment.
-copyrights:
-- Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__aligned__(_alignment)))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_ALIGNED
-notes: null
-params:
-- description: |
- is the desired alignment in bytes.
- dir: null
- name: _alignment
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/alloc-align.yml b/spec/if/rtems/basedefs/alloc-align.yml
deleted file mode 100644
index 1018b81e..00000000
--- a/spec/if/rtems/basedefs/alloc-align.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler in a declaration that the memory allocation alignment
- parameter of this function is similar to aligned_alloc().
-copyrights:
-- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__alloc_align__(_index)))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_ALLOC_ALIGN
-notes: null
-params:
-- description: |
- is the allocation alignment parameter index (starting with one).
- dir: null
- name: _index
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/alloc-size-2.yml b/spec/if/rtems/basedefs/alloc-size-2.yml
deleted file mode 100644
index e0bae5d7..00000000
--- a/spec/if/rtems/basedefs/alloc-size-2.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler in a declaration that the memory allocation item count and
- item size parameter of this function is similar to calloc().
-copyrights:
-- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__alloc_size__(_count_index, _size_index)))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_ALLOC_SIZE_2
-notes: null
-params:
-- description: |
- is the allocation item count parameter index (starting with one).
- dir: null
- name: _count_index
-- description: |
- is the allocation item size parameter index (starting with one).
- dir: null
- name: _size_index
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/alloc-size.yml b/spec/if/rtems/basedefs/alloc-size.yml
deleted file mode 100644
index 7b7e4062..00000000
--- a/spec/if/rtems/basedefs/alloc-size.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler in a declaration that the memory allocation size parameter
- of this function is similar to malloc().
-copyrights:
-- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__alloc_size__(_index)))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_ALLOC_SIZE
-notes: null
-params:
-- description: |
- is the allocation size parameter index (starting with one).
- dir: null
- name: _index
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/array-size.yml b/spec/if/rtems/basedefs/array-size.yml
deleted file mode 100644
index 61131d9d..00000000
--- a/spec/if/rtems/basedefs/array-size.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Returns the element count of the specified array.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- (sizeof(_array) / sizeof((_array)[0]))
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_ARRAY_SIZE
-notes: null
-params:
-- description: |
- is the name of the array.
- dir: null
- name: _array
-return:
- return: The element count of the specified array.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/compiler-deprecated-attribute.yml b/spec/if/rtems/basedefs/compiler-deprecated-attribute.yml
deleted file mode 100644
index 4530cb73..00000000
--- a/spec/if/rtems/basedefs/compiler-deprecated-attribute.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Provided for backward compatibility.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ${deprecated:/name}
- variants: []
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_COMPILER_DEPRECATED_ATTRIBUTE
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/compiler-memory-barrier.yml b/spec/if/rtems/basedefs/compiler-memory-barrier.yml
deleted file mode 100644
index bf05b9fb..00000000
--- a/spec/if/rtems/basedefs/compiler-memory-barrier.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- This macro forbids the compiler to reorder read and write commands around it.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- do { } while ( 0 )
- variants:
- - definition: |
- ${/if/compiler/asm:/name} volatile( "" ::: "memory" )
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_COMPILER_MEMORY_BARRIER
-notes: null
-params: []
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/compiler-no-return-attribute.yml b/spec/if/rtems/basedefs/compiler-no-return-attribute.yml
deleted file mode 100644
index b47611f3..00000000
--- a/spec/if/rtems/basedefs/compiler-no-return-attribute.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Provided for backward compatibility.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ${no-return:/name}
- variants: []
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_COMPILER_NO_RETURN_ATTRIBUTE
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/compiler-packed-attribute.yml b/spec/if/rtems/basedefs/compiler-packed-attribute.yml
deleted file mode 100644
index 75e7d956..00000000
--- a/spec/if/rtems/basedefs/compiler-packed-attribute.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Provided for backward compatibility.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ${packed:/name}
- variants: []
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_COMPILER_PACKED_ATTRIBUTE
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/compiler-pure-attribute.yml b/spec/if/rtems/basedefs/compiler-pure-attribute.yml
deleted file mode 100644
index 5acbc6e6..00000000
--- a/spec/if/rtems/basedefs/compiler-pure-attribute.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Provided for backward compatibility.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ${pure:/name}
- variants: []
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_COMPILER_PURE_ATTRIBUTE
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/compiler-used-attribute.yml b/spec/if/rtems/basedefs/compiler-used-attribute.yml
deleted file mode 100644
index 29f60daa..00000000
--- a/spec/if/rtems/basedefs/compiler-used-attribute.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Provided for backward compatibility.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ${used:/name}
- variants: []
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_COMPILER_USED_ATTRIBUTE
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/concat.yml b/spec/if/rtems/basedefs/concat.yml
deleted file mode 100644
index 7fb231e9..00000000
--- a/spec/if/rtems/basedefs/concat.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Concatenates _x and _y without expanding.
-copyrights:
-- Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: _x##_y
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_CONCAT
-notes: null
-params:
-- description: |
- is the left hand side token of the concatenation.
- dir: null
- name: _x
-- description: |
- is the right hand side token of the concatenation.
- dir: null
- name: _y
-return:
- return: |
- The concatenation of the tokens _x and _y.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/const.yml b/spec/if/rtems/basedefs/const.yml
deleted file mode 100644
index f5f3eab2..00000000
--- a/spec/if/rtems/basedefs/const.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-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.
-copyrights:
-- Copyright (C) 2019 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__const__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_CONST
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/container-of.yml b/spec/if/rtems/basedefs/container-of.yml
deleted file mode 100644
index 1d4070f5..00000000
--- a/spec/if/rtems/basedefs/container-of.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Returns the pointer to the container of a specified member pointer.
-copyrights:
-- Copyright (C) 2014 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ( (_type *) ( (${/if/c/uintptr_t:/name}) ( _m ) - ${/if/c/offsetof:/name}( _type, _member_name ) ) )
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_CONTAINER_OF
-notes: null
-params:
-- description: |
- is the pointer to a member of the container.
- dir: null
- name: _m
-- description: |
- is the type of the container.
- dir: null
- name: _type
-- description: |
- is the designator name of the container member.
- dir: null
- name: _member_name
-return:
- return: |
- Returns the pointer to the container of a specified member pointer.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/declare-global-symbol.yml b/spec/if/rtems/basedefs/declare-global-symbol.yml
deleted file mode 100644
index b46bc08d..00000000
--- a/spec/if/rtems/basedefs/declare-global-symbol.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Declares a global symbol with the specified name.
-copyrights:
-- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- extern char _name[]
- variants: []
-description: |
- This macro must be placed at file scope.
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_DECLARE_GLOBAL_SYMBOL
-notes: null
-params:
-- description: |
- is the name of the global symbol. It shall be a valid designator.
- dir: null
- name: _name
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/deconst.yml b/spec/if/rtems/basedefs/deconst.yml
deleted file mode 100644
index 683ae87a..00000000
--- a/spec/if/rtems/basedefs/deconst.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Performs a type cast which removes const qualifiers without warnings to the
- specified type for the specified pointer variable.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-- Copyright (C) 2014 Paval Pisa
-definition:
- default: ${dequalify-depthx:/name}(*, _type, _var)
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_DECONST
-notes: null
-params:
-- description: |
- is the target type of the cast.
- dir: null
- name: _type
-- description: |
- is the pointer variable.
- dir: null
- name: _var
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/define-global-symbol.yml b/spec/if/rtems/basedefs/define-global-symbol.yml
deleted file mode 100644
index a63f5999..00000000
--- a/spec/if/rtems/basedefs/define-global-symbol.yml
+++ /dev/null
@@ -1,44 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Defines a global symbol with the specified name and value.
-copyrights:
-- Copyright (C) 2018, 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- ${/if/compiler/asm:/name}(
- "\t.globl " ${xstring:/name}( ${symbol-name:/name}( _name ) )
- "\n\t.set " ${xstring:/name}( ${symbol-name:/name}( _name ) )
- ", " ${string:/name}( _value ) "\n"
- )
- enabled-by:
- - defined(${/if/compiler/user-label-prefix:/name})
-description: |
- This macro shall be placed at file scope.
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_DEFINE_GLOBAL_SYMBOL
-notes: null
-params:
-- description: |
- is the user defined name of the symbol. The name shall be a valid
- designator. On the name a macro expansion is performed and afterwards it
- is stringified.
- dir: null
- name: _name
-- description: |
- is the value of the symbol. On the value a macro expansion is performed
- and afterwards it is stringified. It shall expand to an integer expression
- understood by the assembler.
- dir: null
- name: _value
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/deprecated.yml b/spec/if/rtems/basedefs/deprecated.yml
deleted file mode 100644
index a9e60dfe..00000000
--- a/spec/if/rtems/basedefs/deprecated.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Instructs the compiler in a declaration to issue a warning whenever a
- variable, function, or type using this declaration will be used.
-copyrights:
-- Copyright (C) 2009 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__deprecated__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_DEPRECATED
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/dequalify-depthx.yml b/spec/if/rtems/basedefs/dequalify-depthx.yml
deleted file mode 100644
index 1d7247df..00000000
--- a/spec/if/rtems/basedefs/dequalify-depthx.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Performs a type cast which removes qualifiers without warnings to the
- specified type for the specified variable.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-- Copyright (C) 2014 Paval Pisa
-definition:
- default: ((_type)(${/if/c/uintptr_t:/name})(const volatile void *)(_var))
- variants:
- - definition: |
- (const_cast<_type>(_var))
- enabled-by:
- - defined(${/if/compiler/cplusplus:/name})
- - definition: |
- ${/if/compiler/builtin-choose-expr:/name}(${/if/compiler/builtin-types-compatible-p:/name}(
- ${typeof-refx:/name}(_ptr_level, _var),
- ${typeof-refx:/name}(_ptr_level, _type)
- ) || ${/if/compiler/builtin-types-compatible-p:/name}(_type, void *),
- (_type)(_var),
- ${/if/impl/dequalify-types-not-compatible:/name}())
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_DEQUALIFY_DEPTHX
-notes: null
-params:
-- description: |
- is the pointer indirection level expressed in *.
- dir: null
- name: _ptr_level
-- description: |
- is the target type of the cast.
- dir: null
- name: _type
-- description: |
- is the variable.
- dir: null
- name: _var
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/dequalify.yml b/spec/if/rtems/basedefs/dequalify.yml
deleted file mode 100644
index 9573284b..00000000
--- a/spec/if/rtems/basedefs/dequalify.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Performs a type cast which removes all qualifiers without warnings to the
- specified type for the specified pointer variable.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-- Copyright (C) 2014 Paval Pisa
-definition:
- default: ${dequalify-depthx:/name}(*, _type, _var)
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_DEQUALIFY
-notes: null
-params:
-- description: |
- is the target type of the cast.
- dir: null
- name: _type
-- description: |
- is the pointer variable.
- dir: null
- name: _var
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/devolatile.yml b/spec/if/rtems/basedefs/devolatile.yml
deleted file mode 100644
index 5fcab59c..00000000
--- a/spec/if/rtems/basedefs/devolatile.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Performs a type cast which removes volatile qualifiers without warnings to
- the specified type for the specified pointer variable.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-- Copyright (C) 2014 Paval Pisa
-definition:
- default: ${dequalify-depthx:/name}(*, _type, _var)
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_DEVOLATILE
-notes: null
-params:
-- description: |
- is the target type of the cast.
- dir: null
- name: _type
-- description: |
- is the pointer variable.
- dir: null
- name: _var
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/expand.yml b/spec/if/rtems/basedefs/expand.yml
deleted file mode 100644
index f1a198fd..00000000
--- a/spec/if/rtems/basedefs/expand.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Helper macro to perform a macro expansion on the specified token.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: _token
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_EXPAND
-notes: null
-params:
-- description: |
- is the token to expand.
- dir: null
- name: _token
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/false.yml b/spec/if/rtems/basedefs/false.yml
deleted file mode 100644
index e566e0bd..00000000
--- a/spec/if/rtems/basedefs/false.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: If FALSE is undefined, then FALSE is defined to 0.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: '0'
- variants: []
-description: null
-enabled-by:
-- not: 'FALSE'
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: 'FALSE'
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/group.yml b/spec/if/rtems/basedefs/group.yml
deleted file mode 100644
index a5340f0f..00000000
--- a/spec/if/rtems/basedefs/group.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- This group contains basic macros and defines to give access to
- compiler-specific features.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-description: null
-enabled-by: true
-identifier: RTEMSAPIBaseDefs
-interface-type: group
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: ../../api
-name: Base Definitions
-text: |
- The API shall provide an interface to compiler-specific features.
-type: interface
diff --git a/spec/if/rtems/basedefs/have-member-same-type.yml b/spec/if/rtems/basedefs/have-member-same-type.yml
deleted file mode 100644
index 2b7a2844..00000000
--- a/spec/if/rtems/basedefs/have-member-same-type.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Evaluates to true if the specified members of two types have compatible
- types, otherwise to false.
-copyrights:
-- Copyright (C) 2017 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ${/if/c/true:/name}
- variants:
- - definition: |
- ${/if/compiler/builtin-types-compatible-p:/name}(
- ${/if/compiler/typeof:/name}( ( (_t_lhs *) 0 )->_m_lhs ),
- ${/if/compiler/typeof:/name}( ( (_t_rhs *) 0 )->_m_rhs )
- )
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_HAVE_MEMBER_SAME_TYPE
-notes: null
-params:
-- description: |
- is the left hand side type.
- dir: null
- name: _t_lhs
-- description: |
- is the left hand side member.
- dir: null
- name: _m_lhs
-- description: |
- is the right hand side type.
- dir: null
- name: _t_rhs
-- description: |
- is the right hand side member.
- dir: null
- name: _m_rhs
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/header.yml b/spec/if/rtems/basedefs/header.yml
deleted file mode 100644
index 0fe9a823..00000000
--- a/spec/if/rtems/basedefs/header.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- This header file provides basic definitions used by the API and
- the implementation.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-enabled-by: true
-interface-type: header-file
-links:
-- enabled-by: []
- role: interface-include
- uid: /if/build-options/cpuopts
-- enabled-by:
- not: ASM
- role: interface-include
- uid: /if/c/stddef
-- enabled-by:
- not: ASM
- role: interface-include
- uid: /if/c/stdbool
-- enabled-by:
- not: ASM
- role: interface-include
- uid: /if/c/stdint
-- role: interface-placement
- uid: /if/domains/api
-path: rtems/score/basedefs.h
-prefix: cpukit/include
-type: interface
diff --git a/spec/if/rtems/basedefs/inline-routine.yml b/spec/if/rtems/basedefs/inline-routine.yml
deleted file mode 100644
index 7ce5f60e..00000000
--- a/spec/if/rtems/basedefs/inline-routine.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Gives a hint to the compiler in a function declaration to inline this
- function.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: static inline
- variants:
- - definition: static __inline__
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_INLINE_ROUTINE
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/malloclike.yml b/spec/if/rtems/basedefs/malloclike.yml
deleted file mode 100644
index 40948b56..00000000
--- a/spec/if/rtems/basedefs/malloclike.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler in a declaration that this function is a memory allocation
- function similar to malloc().
-copyrights:
-- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__malloc__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_MALLOCLIKE
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/no-inline.yml b/spec/if/rtems/basedefs/no-inline.yml
deleted file mode 100644
index b61ccb43..00000000
--- a/spec/if/rtems/basedefs/no-inline.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Instructs the compiler in a function declaration to not inline this function.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__noinline__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_NO_INLINE
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/no-return.yml b/spec/if/rtems/basedefs/no-return.yml
deleted file mode 100644
index 24f4900e..00000000
--- a/spec/if/rtems/basedefs/no-return.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler in a function declaration that this function does not
- return.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__noreturn__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_NO_RETURN
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/obfuscate-variable.yml b/spec/if/rtems/basedefs/obfuscate-variable.yml
deleted file mode 100644
index 512e2c21..00000000
--- a/spec/if/rtems/basedefs/obfuscate-variable.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Obfuscates the variable so that the compiler cannot perform optimizations
- based on the variable value.
-copyrights:
-- Copyright (C) 2016, 2018 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- (void) (_var)
- variants:
- - definition: |
- ${/if/compiler/asm:/name}( "" : "+r" ( _var ) )
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: |
- The variable must be simple enough to fit into a register.
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_OBFUSCATE_VARIABLE
-notes: null
-params:
-- description: |
- is the variable to obfuscate.
- dir: null
- name: _var
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/packed.yml b/spec/if/rtems/basedefs/packed.yml
deleted file mode 100644
index a31f9773..00000000
--- a/spec/if/rtems/basedefs/packed.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Instructs the compiler in a type definition to place members of a structure
- or union so that the memory required is minimized.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__packed__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_PACKED
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/predict-false.yml b/spec/if/rtems/basedefs/predict-false.yml
deleted file mode 100644
index fffd5690..00000000
--- a/spec/if/rtems/basedefs/predict-false.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Returns the value of the specified integral expression and tells the compiler
- that the predicted value is false (1).
-copyrights:
-- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ( _exp )
- variants:
- - definition: |
- ${/if/compiler/builtin-expect:/name}( ( _exp ), 0 )
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_PREDICT_FALSE
-notes: null
-params:
-- description: |
- is the expression.
- dir: null
- name: _exp
-return:
- return: The value of the expression.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/predict-true.yml b/spec/if/rtems/basedefs/predict-true.yml
deleted file mode 100644
index 477059c2..00000000
--- a/spec/if/rtems/basedefs/predict-true.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Returns the value of the specified integral expression and tells the compiler
- that the predicted value is true (1).
-copyrights:
-- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ( _exp )
- variants:
- - definition: |
- ${/if/compiler/builtin-expect:/name}( ( _exp ), 1 )
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_PREDICT_TRUE
-notes: null
-params:
-- description: |
- is the expression.
- dir: null
- name: _exp
-return:
- return: The value of the expression.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/printflike.yml b/spec/if/rtems/basedefs/printflike.yml
deleted file mode 100644
index b33cf217..00000000
--- a/spec/if/rtems/basedefs/printflike.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler in a declaration that this function expects printf()-like
- arguments.
-copyrights:
-- Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__format__(__printf__, _format_pos, _ap_pos)))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_PRINTFLIKE
-notes: null
-params:
-- description: |
- is the position of the format parameter index (starting with one).
- dir: null
- name: _format_pos
-- description: |
- is the position of the argument pointer parameter index (starting with
- one).
- dir: null
- name: _ap_pos
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/pure.yml b/spec/if/rtems/basedefs/pure.yml
deleted file mode 100644
index 7585ebb8..00000000
--- a/spec/if/rtems/basedefs/pure.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-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.
-copyrights:
-- Copyright (C) 2011 On-Line Applications Research Corporation (OAR)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__pure__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_PURE
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/return-address.yml b/spec/if/rtems/basedefs/return-address.yml
deleted file mode 100644
index 5f141c68..00000000
--- a/spec/if/rtems/basedefs/return-address.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Returns the return address of the current function.
-copyrights:
-- Copyright (C) 2019 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ${/if/c/null:/name}
- variants:
- - definition: |
- ${/if/compiler/builtin-return-address:/name}(0)
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_RETURN_ADDRESS
-notes: null
-params: []
-return:
- return: The return address of the current function.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/section.yml b/spec/if/rtems/basedefs/section.yml
deleted file mode 100644
index 9191b51c..00000000
--- a/spec/if/rtems/basedefs/section.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Instructs the compiler to place a specific variable or function in the
- specified section.
-copyrights:
-- Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__section__(_section)))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_SECTION
-notes: null
-params:
-- description: |
- is the section name as a string.
- dir: null
- name: _section
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/static-assert.yml b/spec/if/rtems/basedefs/static-assert.yml
deleted file mode 100644
index a56d9713..00000000
--- a/spec/if/rtems/basedefs/static-assert.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Asserts at compile time that the specified condition is satisfied.
-copyrights:
-- Copyright (C) 2011, 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- struct rtems_static_assert_ ## _msg
- { int rtems_static_assert_ ## _msg : (_cond) ? 1 : -1; }
- variants:
- - definition: |
- static_assert(_cond, # _msg)
- enabled-by:
- - ${/if/compiler/cplusplus:/name} >= 201103L
- - definition: |
- _Static_assert(_cond, # _msg)
- enabled-by:
- - ${/if/compiler/stdc-version:/name} >= 201112L
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_STATIC_ASSERT
-notes: null
-params:
-- description: |
- is the condition this static assertion shall satisfy.
- dir: null
- name: _cond
-- description: |
- is the error message in case the static assertion fails.
- dir: null
- name: _msg
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/string.yml b/spec/if/rtems/basedefs/string.yml
deleted file mode 100644
index 2c15de47..00000000
--- a/spec/if/rtems/basedefs/string.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Stringifies _x without expanding.
-copyrights:
-- Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: '#_x'
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_STRING
-notes: null
-params:
-- description: |
- is the token to stringify.
- dir: null
- name: _x
-return:
- return: |
- The stringification of the token _x.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/symbol-name.yml b/spec/if/rtems/basedefs/symbol-name.yml
deleted file mode 100644
index 771a2dae..00000000
--- a/spec/if/rtems/basedefs/symbol-name.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Constructs a symbol name.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ${expand:/name}(_name)
- variants:
- - definition: |
- ${xconcat:/name}(${/if/compiler/user-label-prefix:/name}, _name)
- enabled-by:
- - defined(${/if/compiler/user-label-prefix:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_SYMBOL_NAME
-notes: null
-params:
-- description: |
- is the user defined name of the symbol. The name shall be a valid
- designator. On the name a macro expansion is performed.
- dir: null
- name: _name
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/true.yml b/spec/if/rtems/basedefs/true.yml
deleted file mode 100644
index a63fdda6..00000000
--- a/spec/if/rtems/basedefs/true.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: If TRUE is undefined, then TRUE is defined to 1.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: '1'
- variants: []
-description: null
-enabled-by:
-- not: 'TRUE'
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: 'TRUE'
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/typeof-refx.yml b/spec/if/rtems/basedefs/typeof-refx.yml
deleted file mode 100644
index cda4b9b6..00000000
--- a/spec/if/rtems/basedefs/typeof-refx.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Returns the type of a pointer reference of the specified level to the specified type.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-- Copyright (C) 2014 Paval Pisa
-definition:
- default: ''
- variants:
- - definition: |
- ${/if/compiler/typeof:/name}(_level(union { int z; ${/if/compiler/typeof:/name}(_target) x; }){0}.x)
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: |
- The reference type idea is based on libHX by Jan Engelhardt.
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_TYPEOF_REFX
-notes: null
-params:
-- description: |
- is the pointer indirection level expressed in *.
- dir: null
- name: _level
-- description: |
- is the reference target type.
- dir: null
- name: _target
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/unreachable.yml b/spec/if/rtems/basedefs/unreachable.yml
deleted file mode 100644
index 97cbd4ae..00000000
--- a/spec/if/rtems/basedefs/unreachable.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler that this program point is unreachable.
-copyrights:
-- Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: |
- ${/if/impl/assert-unreachable:/name}()
- variants:
- - definition: |
- do {
- ${/if/compiler/builtin-unreachable:/name}();
- ${/if/impl/assert-unreachable:/name}();
- } while ( 0 )
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-name: RTEMS_UNREACHABLE
-notes: null
-params: []
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/unused.yml b/spec/if/rtems/basedefs/unused.yml
deleted file mode 100644
index 01c775ba..00000000
--- a/spec/if/rtems/basedefs/unused.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler that a specific variable or function is deliberately
- unused.
-copyrights:
-- Copyright (C) 2013 On-Line Applications Research Corporation (OAR)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__unused__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_UNUSED
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/used.yml b/spec/if/rtems/basedefs/used.yml
deleted file mode 100644
index 5bb598c3..00000000
--- a/spec/if/rtems/basedefs/used.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler that a specific variable or function is used.
-copyrights:
-- Copyright (C) 2009 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__used__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_USED
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/warn-unused-result.yml b/spec/if/rtems/basedefs/warn-unused-result.yml
deleted file mode 100644
index 48919182..00000000
--- a/spec/if/rtems/basedefs/warn-unused-result.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler in a declaration that the result of this function should
- be used.
-copyrights:
-- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__warn_unused_result__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_WARN_UNUSED_RESULT
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/weak-alias.yml b/spec/if/rtems/basedefs/weak-alias.yml
deleted file mode 100644
index ed071773..00000000
--- a/spec/if/rtems/basedefs/weak-alias.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Instructs the compiler to generate a weak alias to the specified target
- function.
-copyrights:
-- Copyright (C) 2017 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__weak__, __alias__(#_target)))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_WEAK_ALIAS
-notes: null
-params:
-- description: |
- is the target function name.
- dir: null
- name: _target
-return:
- return: null
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/weak.yml b/spec/if/rtems/basedefs/weak.yml
deleted file mode 100644
index aea07618..00000000
--- a/spec/if/rtems/basedefs/weak.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Tells the compiler in a function definition that this function should be
- weak.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ''
- variants:
- - definition: |
- __attribute__((__weak__))
- enabled-by:
- - defined(${/if/compiler/gnuc:/name})
-description: |
- Use this attribute for function definitions. Do not use it for function
- declarations.
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_WEAK
-notes: null
-type: interface
diff --git a/spec/if/rtems/basedefs/xconcat.yml b/spec/if/rtems/basedefs/xconcat.yml
deleted file mode 100644
index b2280356..00000000
--- a/spec/if/rtems/basedefs/xconcat.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Concatenates expansion of _x and expansion of _y.
-copyrights:
-- Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ${concat:/name}( _x, _y )
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_XCONCAT
-notes: null
-params:
-- description: |
- is expanded first and then used as the left hand side token of the
- concatenation.
- dir: null
- name: _x
-- description: |
- is expanded first and then used as the right hand side token of the
- concatenation.
- dir: null
- name: _y
-return:
- return: |
- The concatenation of the expansions of tokens _x and _y.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/xstring.yml b/spec/if/rtems/basedefs/xstring.yml
deleted file mode 100644
index ba73f8ec..00000000
--- a/spec/if/rtems/basedefs/xstring.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- Stringifies the expansion of _x.
-copyrights:
-- Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: ${string:/name}( _x )
- variants: []
-description: null
-enabled-by: true
-interface-type: macro
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_XSTRING
-notes: null
-params:
-- description: |
- is the token expand and stringify.
- dir: null
- name: _x
-return:
- return: |
- The stringification of the expansion of token _x.
- return-values: []
-type: interface
diff --git a/spec/if/rtems/basedefs/zero-length-array.yml b/spec/if/rtems/basedefs/zero-length-array.yml
deleted file mode 100644
index 24c23b47..00000000
--- a/spec/if/rtems/basedefs/zero-length-array.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
- This is a constant to declare zero-length arrays.
-copyrights:
-- Copyright (C) 2014 embedded brains GmbH (http://www.embedded-brains.de)
-definition:
- default: '0'
- variants:
- - definition: null
- enabled-by:
- - ${../../compiler/stdc-version:/name} >= 199409L
-description: |
- Zero-length arrays are valid in C99 as flexible array members. C++11 does
- not allow flexible array members. Use the GNU extension which is also
- supported by other compilers.
-enabled-by: true
-interface-type: define
-links:
-- role: interface-placement
- uid: header
-- role: interface-ingroup
- uid: group
-name: RTEMS_ZERO_LENGTH_ARRAY
-notes: null
-type: interface