summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/aligned.yml
blob: 44f3e12e18f6bfe6ee813b574e14a3dbfb42d236 (plain) (blame)
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
32
33
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Instructs the compiler in a declaration or definition to enforce the
  alignment.
copyrights:
- Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default: ''
  variants:
  - definition: |
      __attribute__((__aligned__(_alignment)))
    enabled-by:
    - defined(${/compiler/if/gnuc:/name})
description: null
enabled-by: true
index-entries: []
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