blob: 2c7be55bae204150f41ae5f336363c9575bdfa53 [file] [log] [blame]
Anton Komlev4bfd6c52022-06-29 17:10:26 +01001/*
Kevin Penga9ec66f2022-07-05 15:21:16 +08002 * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Anton Komlev4bfd6c52022-06-29 17:10:26 +01003 *
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
16extern "C" {
17#endif
18
19/**
Kevin Penga9ec66f2022-07-05 15:21:16 +080020 * \brief Makes a request to the example service.
Anton Komlev4bfd6c52022-06-29 17:10:26 +010021 *
22 * \param[in] arg Example parameter
23 *
24 * \return Returns error code as specified in \ref psa_status_t
25 */
Kevin Penga9ec66f2022-07-05 15:21:16 +080026psa_status_t tfm_example_service(uint32_t arg);
Anton Komlev4bfd6c52022-06-29 17:10:26 +010027
28#ifdef __cplusplus
29}
30#endif
31
32#endif /* __TFM_EXAMPLE_PARTITION_API_H__ */