diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-06 12:44:23 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-28 10:38:22 +0200 |
commit | 31a305f1d26256c5439d1dd552a4136848e841f0 (patch) | |
tree | f8c6584f4ec5ca2c98e94476da874fe066519a8d /spec/if/rtems/basedefs/alloc-align.yml | |
parent | interface: Support void functions (diff) | |
download | rtems-central-31a305f1d26256c5439d1dd552a4136848e841f0.tar.bz2 |
spec: Add some interface items
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 |