blob: 0bff49a51f09b58e3a3b2aa059288df2ba52a19c [file] [log] [blame]
Summer Qin153f3df2022-11-17 15:51:02 +08001/*
Kevin Peng0eca5ea2023-07-21 17:32:31 +08002 * Copyright (c) 2023, Arm Limited. All rights reserved.
Summer Qin153f3df2022-11-17 15:51:02 +08003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8/*
Kevin Peng0eca5ea2023-07-21 17:32:31 +08009 * Generated by erpcgen 1.9.1 on Fri Jul 21 17:28:31 2023.
Summer Qin153f3df2022-11-17 15:51:02 +080010 *
11 * AUTOGENERATED - DO NOT EDIT
12 */
13
14
Kevin Peng0eca5ea2023-07-21 17:32:31 +080015#if !defined(_tfm_erpc_h_)
16#define _tfm_erpc_h_
Summer Qin153f3df2022-11-17 15:51:02 +080017
18#include <stdbool.h>
19#include <stddef.h>
20#include <stdint.h>
21#include "erpc_version.h"
22#include "psa/client.h"
23
24#if 10901 != ERPC_VERSION_NUMBER
25#error "The generated shim code version is different to the rest of eRPC code."
26#endif
27
28#if !defined(ERPC_TYPE_DEFINITIONS)
29#define ERPC_TYPE_DEFINITIONS
30
31// Aliases data types declarations
32typedef struct list_binary_1_t list_binary_1_t;
33typedef struct binary_t binary_t;
34
35// Structures/unions data types declarations
36struct list_binary_1_t
37{
38 binary_t * elements;
39 uint32_t elementsCount;
40};
41
42struct binary_t
43{
44 uint8_t * data;
45 uint32_t dataLength;
46};
47
48
49#endif // ERPC_TYPE_DEFINITIONS
50
51/*! @brief psa_client_api identifiers */
52enum _psa_client_api_ids
53{
54 kpsa_client_api_service_id = 1,
55 kpsa_client_api_psa_framework_version_id = 1,
56 kpsa_client_api_psa_version_id = 2,
57 kpsa_client_api_erpc_psa_call_id = 3,
Kevin Peng0eca5ea2023-07-21 17:32:31 +080058 kpsa_client_api_psa_connect_id = 4,
59 kpsa_client_api_psa_close_id = 5,
Summer Qin153f3df2022-11-17 15:51:02 +080060};
61
62#if defined(__cplusplus)
63extern "C" {
64#endif
65
66//! @name psa_client_api
67//@{
68uint32_t psa_framework_version(void);
69
70uint32_t psa_version(uint32_t sid);
71
72psa_status_t erpc_psa_call(psa_handle_t handle, int32_t t, const list_binary_1_t * erpc_in_vec, list_binary_1_t * erpc_out_vec);
Kevin Peng0eca5ea2023-07-21 17:32:31 +080073
74psa_handle_t psa_connect(uint32_t sid, uint32_t ver);
75
76void psa_close(psa_handle_t handle);
Summer Qin153f3df2022-11-17 15:51:02 +080077//@}
78
79#if defined(__cplusplus)
80}
81#endif
82
Kevin Peng0eca5ea2023-07-21 17:32:31 +080083#endif // _tfm_erpc_h_