OSRoundUp32B

Syntax

#include <cafe/os.h>

#define OSRoundUp32B(x)  (((u32)(x) + 32 - 1) & ~(32 - 1))

Parameters

x Pointer or address.

Return Values

Unsigned 32-bit integer (u32) rounded up to the 32-byte upper boundary.

Description

Rounds x up to the 32-byte upper boundary.

Do Not Call From

None.

See Also

OSRoundDown32B

Revision History

2013-05-08 Automated cleanup pass.
2010-08-30 Initial version.


CONFIDENTIAL