All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
align.h File Reference

Provide architecture-specific memory-alignment information. More...

+ Include dependency graph for align.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ARCH_MAX_ALIGNMENT_INCREASE
 Maximum extra space needed for alignment. More...
 
#define ARCH_CACHE_LINE_SIZE
 The size of a CPU cache line on the current processor architecture in bytes. More...
 

Functions

size_t ArchAlignMemorySize (size_t nBytes)
 Return suitably aligned memory size. More...
 
void * ArchAlignMemory (void *base)
 Align memory to the next "best" alignment value. More...
 

Detailed Description

Provide architecture-specific memory-alignment information.

Definition in file align.h.