summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/packed.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/if/packed.yml')
-rw-r--r--spec/rtems/basedefs/if/packed.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/if/packed.yml b/spec/rtems/basedefs/if/packed.yml
new file mode 100644
index 00000000..a575a77f
--- /dev/null
+++ b/spec/rtems/basedefs/if/packed.yml
@@ -0,0 +1,24 @@
+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(${/compiler/if/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