2 * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef __TFM_NSPM_H__
9#define __TFM_NSPM_H__
10
11#include <stdint.h>
12
13/**
14 * \brief initialise the NS context database
15 */
16void tfm_nspm_configure_clients(void);
17
18/**
19 * \brief Get the client ID of the current NS client
20 *
21 * \return The client id of the current NS client. 0 (invalid client id) is
22 * returned in case of error.
23 */
24 int32_t tfm_nspm_get_current_client_id(void);
25
26#ifdef TFM_PSA_API
27/**
28 * \brief NSPM thread main entry function
29 *
30 * \return PSA_SUCCESS indicates failed.
31 *
32 * Note: This function should not return back.
33 */
34 psa_status_t tfm_nspm_thread_entry(void);
35#endif
36
37#endif /* __TFM_NSPM_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.