Anton Komlev | 4bfd6c5 | 2022-06-29 17:10:26 +0100 | [diff] [blame] | 1 | /* |
Kevin Peng | a9ec66f | 2022-07-05 15:21:16 +0800 | [diff] [blame^] | 2 | * Copyright (c) 2020-2022, Arm Limited. All rights reserved. |
Anton Komlev | 4bfd6c5 | 2022-06-29 17:10:26 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef __TFM_EXAMPLE_PARTITION_API_H__ |
| 9 | #define __TFM_EXAMPLE_PARTITION_API_H__ |
| 10 | |
| 11 | #include <stdint.h> |
| 12 | |
| 13 | #include "psa/error.h" |
| 14 | |
| 15 | #ifdef __cplusplus |
| 16 | extern "C" { |
| 17 | #endif |
| 18 | |
| 19 | /** |
Kevin Peng | a9ec66f | 2022-07-05 15:21:16 +0800 | [diff] [blame^] | 20 | * \brief Makes a request to the example service. |
Anton Komlev | 4bfd6c5 | 2022-06-29 17:10:26 +0100 | [diff] [blame] | 21 | * |
| 22 | * \param[in] arg Example parameter |
| 23 | * |
| 24 | * \return Returns error code as specified in \ref psa_status_t |
| 25 | */ |
Kevin Peng | a9ec66f | 2022-07-05 15:21:16 +0800 | [diff] [blame^] | 26 | psa_status_t tfm_example_service(uint32_t arg); |
Anton Komlev | 4bfd6c5 | 2022-06-29 17:10:26 +0100 | [diff] [blame] | 27 | |
| 28 | #ifdef __cplusplus |
| 29 | } |
| 30 | #endif |
| 31 | |
| 32 | #endif /* __TFM_EXAMPLE_PARTITION_API_H__ */ |