TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
psa_lifecycle.c
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 #include <inttypes.h>
8 #include "psa/lifecycle.h"
9 #include "tfm/tfm_core_svc.h"
10 
11 __attribute__((naked))
13 {
14  __ASM volatile("SVC %0 \n"
15  "BX LR \n"
16  : : "I" (TFM_SVC_PSA_LIFECYCLE));
17 }
uint32_t psa_rot_lifecycle_state(void)
Definition: psa_lifecycle.c:12