![]() |
RTEMS 6.3
|
Generic. More...
Files | |
| file | bsps/sparc64/include/boot/align.h |
| file | bsps/sparc64/include/boot/gentypes.h |
| file | bsps/sparc64/include/kernel/align.h |
| Macros for making values and addresses aligned. | |
Macros | |
| #define | ALIGN_UP(addr, align) |
| #define | ALIGN_DOWN(s, a) |
| #define | ALIGN_UP(s, a) |
Generic.
| #define ALIGN_DOWN | ( | s, | |
| a ) |
Align to the nearest lower address.
| s | Address or size to be aligned. |
| a | Size of alignment, must be power of 2. |
| #define ALIGN_UP | ( | addr, | |
| align ) |
Align to the nearest higher address.
| addr | Address or size to be aligned. |
| align | Size of alignment, must be power of 2. |
Align to the nearest higher address.
| s | Address or size to be aligned. |
| a | Size of alignment, must be power of 2. |
| #define ALIGN_UP | ( | s, | |
| a ) |
Align to the nearest higher address.
| s | Address or size to be aligned. |
| a | Size of alignment, must be power of 2. |