diff options
Diffstat (limited to 'spec/if/rtems/basedefs/alloc-align.yml')
-rw-r--r-- | spec/if/rtems/basedefs/alloc-align.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/spec/if/rtems/basedefs/alloc-align.yml b/spec/if/rtems/basedefs/alloc-align.yml new file mode 100644 index 00000000..a10a85cd --- /dev/null +++ b/spec/if/rtems/basedefs/alloc-align.yml @@ -0,0 +1,31 @@ +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: [] +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: "" + variants: + - definition: | + __attribute__((__alloc_align__(_index))) + enabled-by: + - defined(${/if/compiler/gnuc:/interface-name}) +interface-description: null +interface-name: RTEMS_ALLOC_ALIGN +interface-params: +- description: | + is the allocation alignment parameter index (starting with one). + dir: null + name: _index +interface-return: + return: null + return-values: [] +interface-type: macro +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/basedefs +type: interface |