OSRoundDown32B

Syntax

#include <revolution/os.h>

#define OSRoundDown32B(x)       \
        (((u32)(x)) & ~(32 - 1))

Arguments

x Pointer or address.

Return Values

Unsigned 32-bit integer (u32) rounded down to the nearest lower 32-byte boundary.

Description

Rounds down x to the nearest lower 32-byte boundary.

See Also

Address Conversion Functions
OSRoundUp32B

Revision History

2006/03/01 Initial version.


CONFIDENTIAL