aboutsummaryrefslogtreecommitdiff
path: root/components/rpc/ffarpc/endpoint/ffarpc_call_ep.h
diff options
context:
space:
mode:
authorjulhal01 <julian.hall@arm.com>2020-12-15 13:39:01 +0000
committerGyorgy Szing <Gyorgy.Szing@arm.com>2021-04-14 16:59:03 +0200
commitc3f4e9a7550ee4fddf2d24127ef33ca514351806 (patch)
treee61b25f7a93ea4ed2f26363186cc236aba06dd24 /components/rpc/ffarpc/endpoint/ffarpc_call_ep.h
parent35c6d643b5f0c0387702e22bf742dd4878ca5ddd (diff)
downloadtrusted-services-c3f4e9a7550ee4fddf2d24127ef33ca514351806.tar.gz
Extend RPC parameters
The RPC model is extended to include parameters for identifying an RPC interface instance at an endpoint and another for identifying the parameter encoding. The interface ID parameter allows multiple service interfaces to be co-located. The encoding parameter allows clients to use different parameter serialization schemes and to specify the format in each RPC request. Signed-off-by: julhal01 <julian.hall@arm.com> Change-Id: I201b3417dc0e9f655113b9931db3494e41f1d74b
Diffstat (limited to 'components/rpc/ffarpc/endpoint/ffarpc_call_ep.h')
-rw-r--r--components/rpc/ffarpc/endpoint/ffarpc_call_ep.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/rpc/ffarpc/endpoint/ffarpc_call_ep.h b/components/rpc/ffarpc/endpoint/ffarpc_call_ep.h
index b4bcdd6f2..cc67f6ed9 100644
--- a/components/rpc/ffarpc/endpoint/ffarpc_call_ep.h
+++ b/components/rpc/ffarpc/endpoint/ffarpc_call_ep.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+ * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -8,7 +8,7 @@
#define FFA_CALL_EP_H
#include <ffa_api.h>
-#include <components/rpc/common/endpoint/call_ep.h>
+#include <components/rpc/common/endpoint/rpc_interface.h>
#include <stddef.h>
#include <stdint.h>
@@ -17,13 +17,13 @@ extern "C" {
#endif
struct ffa_call_ep {
- struct call_ep *call_ep;
+ struct rpc_interface *iface;
unsigned long shmem_buf_handle;
volatile uint8_t *shmem_buf;
size_t shmem_buf_size;
};
-void ffa_call_ep_init(struct ffa_call_ep *ffa_call_ep, struct call_ep *call_ep);
+void ffa_call_ep_init(struct ffa_call_ep *ffa_call_ep, struct rpc_interface *iface);
void ffa_call_ep_receive(struct ffa_call_ep *call_ep,
const struct ffa_direct_msg *req_msg,
struct ffa_direct_msg *resp_msg);