summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/include/rtems/rtems/part.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/include/rtems/rtems/part.h b/cpukit/include/rtems/rtems/part.h
index 5a6484329f..a3c3128a00 100644
--- a/cpukit/include/rtems/rtems/part.h
+++ b/cpukit/include/rtems/rtems/part.h
@@ -36,6 +36,15 @@ extern "C" {
/**@{*/
/**
+ * @brief This constant defines the minimum alignment of a partition buffer in
+ * bytes.
+ *
+ * Use it with RTEMS_ALIGNED() to define the alignment of partition buffer
+ * types or statically allocated partition buffer areas.
+ */
+#define RTEMS_PARTITION_ALIGNMENT CPU_SIZEOF_POINTER
+
+/**
* @brief RTEMS Partition Create
*
* Partition Manager