diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-30 14:21:32 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-07 08:10:52 +0200 |
commit | 97e9728306a692ce7870db29c6b5d86dd9560692 (patch) | |
tree | 416d8536877fb0524e63967ea1bda111b901b402 /cpukit/include | |
parent | 94b8d85b1612bdd52744afa977e05a612954926a (diff) |
rtems: Add RTEMS_PARTITION_ALIGNMENT
Update #4105.
Diffstat (limited to 'cpukit/include')
-rw-r--r-- | cpukit/include/rtems/rtems/part.h | 9 |
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 |