MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClOscca_PlatformTypes.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2016, 2021 NXP */
3 /* */
4 /* NXP Confidential. 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 license */
10 /* terms, then you may not retain, install, activate or otherwise use the */
11 /* software. */
12 /*--------------------------------------------------------------------------*/
13 /* Security Classification: Company Confidential */
14 /*--------------------------------------------------------------------------*/
15 
22 #ifndef MCUXCLOSCCA_PLATFORMTYPES_H_
23 #define MCUXCLOSCCA_PLATFORMTYPES_H_
24 
25 #include <stdint.h>
26 #include <stddef.h>
27 #include <stdbool.h>
28 #include <platform_specific_headers.h>
29 
30 typedef uint32_t mcuxClOscca_Size_t;
31 typedef uint32_t mcuxClOscca_Uint_t;
32 typedef int32_t mcuxClOscca_Int_t;
33 
37 typedef struct
38 {
39  volatile uint16_t securityCounter;
40  volatile uint16_t stackPointerBackup;
41  uint32_t generalPurposeValue;
43 
44 #define MCUX_CLOSCCA_SCRATCHPAD_SECTION __attribute__((section(".data.gmcuxClOscca_ScratchPad")))
45 
49 extern mcuxClOscca_ScratchPad_t MCUX_CLOSCCA_SCRATCHPAD_SECTION gmcuxClOscca_ScratchPad;
50 
51 #endif /* MCUXCLOSCCA_PLATFORMTYPES_H_ */
mcuxClOscca_ScratchPad_t MCUX_CLOSCCA_SCRATCHPAD_SECTION gmcuxClOscca_ScratchPad
global scratch pad object
global scratch pad structure definition
Definition: mcuxClOscca_PlatformTypes.h:37