MCUXpresso_LPC55S69/boards/lpcxpresso55s69/trustzone_examples/secure_gpio/cm33_core0/secure_gpio_s/tzm_api.h
2022-04-08 22:42:47 +08:00

39 lines
1.2 KiB
C

/*
* Copyright 2021 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __TZM_API_H__
#define __TZM_API_H__
/*******************************************************************************
* Definitions
******************************************************************************/
#define TZM_IS_NONSECURE_CALLED __attribute__((cmse_nonsecure_call))
#define TZM_IS_NOSECURE_ENTRY __attribute__((cmse_nonsecure_entry))
/*******************************************************************************
* Prototypes
******************************************************************************/
/*******************************************************************************
* Variables
******************************************************************************/
/*******************************************************************************
* API
******************************************************************************/
#if defined(__cplusplus)
extern "C" {
#endif /* __cplusplus*/
void TZM_JumpToNormalWorld(uint32_t nonsecVtorAddress);
#if defined(__cplusplus)
}
#endif /* __cplusplus*/
#endif /* __TZM_API_H__ */