Mistake on this page?
Report an issue in GitHub or email us
tfm_ns_lock.h
1 /*
2  * Copyright (c) 2017-2019, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 #ifndef __TFM_NS_LOCK_H__
8 #define __TFM_NS_LOCK_H__
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #include <stdint.h>
15 #include "tfm_api.h"
16 
17 typedef int32_t (*veneer_fn) (uint32_t arg0, uint32_t arg1,
18  uint32_t arg2, uint32_t arg3);
19 
20 /**
21  * \brief NS world, NS lock based dispatcher
22  *
23  * \details To be called from the wrapper API interface
24  */
25 
26 uint32_t tfm_ns_lock_dispatch(veneer_fn fn,
27  uint32_t arg0, uint32_t arg1,
28  uint32_t arg2, uint32_t arg3);
29 
30 /**
31  * \brief NS world, Init NS lock
32  *
33  * \details Needs to be called during non-secure app init
34  * to initialize the TFM NS lock object
35  */
36 enum tfm_status_e tfm_ns_lock_init();
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif /* __TFM_NS_LOCK_H__ */
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.