RTEMS
5.1
|
Macros for making values and addresses aligned. More...
Go to the source code of this file.
Macros | |
#define | ALIGN_DOWN(s, a) ((s) & ~((a) - 1)) |
#define | ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((a) - 1)) |
Macros for making values and addresses aligned.