#include <revolution/os.h>
#define OSRoundUp32B(x) \
(((u32)(x) + 32 - 1) & ~(32 - 1))
x |
Pointer or address. |
|---|
Unsigned 32-bit integer (u32) rounded up to the nearest upper 32-byte boundary.
Rounds up x to the nearest upper 32-byte boundary.
Address Conversion Functions, OSRoundDown32B
2006/03/01 Initial version.
CONFIDENTIAL