blob: f8876ef23c1ea631c785bda6a32fd5e73a473fdf [file] [log] [blame]
Anton Komlev4bfd6c52022-06-29 17:10:26 +01001/*
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
16extern "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 */
26psa_status_t tfm_example_partition_call(uint32_t arg);
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif /* __TFM_EXAMPLE_PARTITION_API_H__ */