NN_ATTRIBUTE_ALIGN

NN_ATTRIBUTE_ALIGN Macro

Syntax

#include <nn/config.h>

#define NN_ATTRIBUTE_ALIGN(n) __attribute__ ((aligned(n)))

Parameters

Name Description
in n Alignment to be satisfied.

Description

Used to align the boundaries of object addresses.

Ensures n-byte alignment of the start address of objects by adding n to the end of global object definition.

Revision History

2011/12/16
Initial version.

CONFIDENTIAL