Mate Toth-Pal | 3956a8a | 2018-08-03 17:18:47 +0200 | [diff] [blame] | 1 | /* |
| 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 |
| 14 | extern "C" { |
| 15 | #endif |
| 16 | |
| 17 | /** |
| 18 | * \brief Reports the client ID of this task to TF-M (SVC function) |
| 19 | * |
| 20 | * \return Returns 1 if the client ID was successfully reported 0 otherwise |
| 21 | */ |
| 22 | uint32_t tfm_nspm_svc_register_client_id(void); |
| 23 | |
| 24 | #ifdef __cplusplus |
| 25 | } |
| 26 | #endif |
| 27 | |
| 28 | #endif /* __TFM_NSPM_SVC_HANDLER_H__ */ |