aboutsummaryrefslogtreecommitdiff
path: root/interface/include/tfm_nspm_svc_handler.h
blob: 73f75a95e139997446f179733b3d5b4c3487c515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2018, Arm Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *
 */

#ifndef __TFM_NSPM_SVC_HANDLER_H__
#define __TFM_NSPM_SVC_HANDLER_H__

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

/**
 * \brief Reports the client ID of this task to TF-M (SVC function)
 *
 * \param [in] client_id Client ID to register.
 *
 * \return Returns 1 if the client ID was successfully reported 0 otherwise
 */
uint32_t tfm_nspm_svc_register_client_id(uint32_t client_id);

#ifdef __cplusplus
}
#endif

#endif /* __TFM_NSPM_SVC_HANDLER_H__ */