23#ifndef MCUXCLOSCCA_MEMORY_H_
24#define MCUXCLOSCCA_MEMORY_H_
26#include <mcuxClConfig.h>
34#define MCUXCLOSCCA_SIZE_ALIGN_OFFSET (sizeof(size_t) - 1U)
36#define mcuxClOscca_alignAddress(address) \
37 ((uint8_t *)( (((size_t)(address)) + (sizeof(size_t) - 1U)) \
38 & ((size_t)(~(sizeof(size_t) - 1U))) ))
40#define mcuxClOscca_alignSize(size) \
41 ((size_t)(((size_t)(size)) + (sizeof(size_t) - 1U)) \
42 & ((size_t)(~(sizeof(size_t) - 1U))) )
44#define mcuxClOscca_alignAddressWithOffset(address, offset) \
45 ((uint8_t *)( (((size_t)(address) + (size_t)(offset)) + (sizeof(size_t) - 1U)) \
46 & ((size_t)(~(sizeof(size_t) - 1U))) ))
48#define mcuxClOscca_alignAddressToBoundary(address, boundary) \
49 ((uint8_t *)( (((size_t)(address)) + (boundary - 1U)) \
50 & ((size_t)(~(boundary - 1U))) ))
Definition of function identifiers for the flow protection mechanism.
Provides the API for the CSSL flow protection mechanism.
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition mcuxCsslFlowProtection.h:125
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:81