|
Provide architecture-specific memory-alignment information. More...
Go to the source code of this file.
Macros | |
#define | ARCH_MAX_ALIGNMENT_INCREASE |
Maximum extra space needed for alignment. | |
#define | ARCH_CACHE_LINE_SIZE |
The size of a CPU cache line on the current processor architecture in bytes. | |
Functions | |
size_t | ArchAlignMemorySize (size_t nBytes) |
Return suitably aligned memory size. | |
void * | ArchAlignMemory (void *base) |
Align memory to the next "best" alignment value. | |
ARCH_API void * | ArchAlignedAlloc (size_t alignment, size_t size) |
Aligned memory allocation. | |
ARCH_API void | ArchAlignedFree (void *ptr) |
Free memory allocated by ArchAlignedAlloc. | |
Provide architecture-specific memory-alignment information.
Definition in file align.h.