MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClCore_Platform.h
1/*--------------------------------------------------------------------------*/
2/* Copyright 2021, 2024 NXP */
3/* */
4/* NXP Proprietary. This software is owned or controlled by NXP and may */
5/* only be used strictly in accordance with the applicable license terms. */
6/* By expressly accepting such terms or by downloading, installing, */
7/* activating and/or otherwise using the software, you are agreeing that */
8/* you have read, and that you agree to comply with and are bound by, such */
9/* license terms. If you do not agree to be bound by the applicable */
10/* license terms, then you may not retain, install, activate or otherwise */
11/* use the software. */
12/*--------------------------------------------------------------------------*/
13
14#ifndef MCUXCLCORE_PLATFORM_H_
15#define MCUXCLCORE_PLATFORM_H_
16
17#include <stddef.h>
18#include <stdint.h>
19#include <stdbool.h>
20
21#include <mcuxCsslAnalysis.h>
22
23#include <mcuxClConfig.h> // Exported features flags header
24
25
26#define MCUXCL_HW_DMA_WORKAROUND(addr) \
27 MCUX_CSSL_ANALYSIS_START_SUPPRESS_TYPECAST_BETWEEN_INTEGER_AND_POINTER("Convert pointer to address for bitwise operations needed in mapping calculations. This instance needed for consistent macro behaviour.") \
28 ((uint32_t)(addr)) \
29 MCUX_CSSL_ANALYSIS_STOP_SUPPRESS_TYPECAST_BETWEEN_INTEGER_AND_POINTER()
30
31
32#endif /* MCUXCLCORE_PLATFORM_H_ */