Anton Komlev | 4bfd6c5 | 2022-06-29 17:10:26 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2020, Arm Limited. All rights reserved. |
| 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 | /** |
| 20 | * \brief Makes a psa_call to the example partition. |
| 21 | * |
| 22 | * \param[in] arg Example parameter |
| 23 | * |
| 24 | * \return Returns error code as specified in \ref psa_status_t |
| 25 | */ |
| 26 | psa_status_t tfm_example_partition_call(uint32_t arg); |
| 27 | |
| 28 | #ifdef __cplusplus |
| 29 | } |
| 30 | #endif |
| 31 | |
| 32 | #endif /* __TFM_EXAMPLE_PARTITION_API_H__ */ |