Changeset cd9ef185 in rtems


Ignore:
Timestamp:
Jan 25, 2016, 9:20:14 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a8865f8
Parents:
a0c79c1f
git-author:
Sebastian Huber <sebastian.huber@…> (01/25/16 09:20:14)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/26/16 08:07:23)
Message:

score: Add RTEMS_ALIGNED()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/basedefs.h

    ra0c79c1f rcd9ef185  
    234234#else
    235235  #define RTEMS_PACKED
     236#endif
     237
     238/**
     239 * @brief Instructs the compiler to enforce the specified alignment.
     240 */
     241#if defined(__GNUC__)
     242  #define RTEMS_ALIGNED( _alignment ) __attribute__((__aligned__(_alignment)))
     243#else
     244  #define RTEMS_ALIGNED( _alignment )
    236245#endif
    237246
Note: See TracChangeset for help on using the changeset viewer.