summaryrefslogtreecommitdiff
path: root/spec/if/rtems/basedefs/aligned.yml
blob: 5b48bc34c84698f08f0c2e883c4400641fd1e90c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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: []
interface-brief: |
  Instructs the compiler in a declaration or definition to enforce the
  specified alignment.
interface-definition:
  default: ""
  variants:
  - definition: |
      __attribute__((__aligned__(_alignment)))
    enabled-by:
    - defined(${/if/compiler/gnuc:/interface-name})
interface-description: null
interface-name: RTEMS_ALIGNED
interface-params:
- description: |
    is the desired alignment in bytes.
  dir: null
  name: _alignment
interface-return:
  return: null
  return-values: []
interface-type: macro
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: /groups/api/basedefs
type: interface