blob: 73f75a95e139997446f179733b3d5b4c3487c515 [file] [log] [blame]
Mate Toth-Pal3956a8a2018-08-03 17:18:47 +02001/*
2 * Copyright (c) 2018, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef __TFM_NSPM_SVC_HANDLER_H__
9#define __TFM_NSPM_SVC_HANDLER_H__
10
11#include <stdint.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17/**
18 * \brief Reports the client ID of this task to TF-M (SVC function)
19 *
Marc Moreno Berengue2b328e92018-10-10 14:18:17 +010020 * \param [in] client_id Client ID to register.
21 *
Mate Toth-Pal3956a8a2018-08-03 17:18:47 +020022 * \return Returns 1 if the client ID was successfully reported 0 otherwise
23 */
Marc Moreno Berengue2b328e92018-10-10 14:18:17 +010024uint32_t tfm_nspm_svc_register_client_id(uint32_t client_id);
Mate Toth-Pal3956a8a2018-08-03 17:18:47 +020025
26#ifdef __cplusplus
27}
28#endif
29
30#endif /* __TFM_NSPM_SVC_HANDLER_H__ */