1 /* 2 * Copyright (c) 2020-2022, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef LINUXFFA_SERVICE_CONTEXT_H 8 #define LINUXFFA_SERVICE_CONTEXT_H 9 10 #include "service_locator.h" 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /* 17 * A service_context that represents a service instance located in 18 * a partition, accessed via FFA. This service_context is suitable 19 * for use by client applications running in Linux userspace. 20 */ 21 struct linux_ts_service_context; 22 23 /* 24 * Factory method to create a service context associated with the specified 25 * service UUID. 26 */ 27 struct linux_ts_service_context *linux_ts_service_context_create(const struct rpc_uuid *service_uuid); 28 29 #ifdef __cplusplus 30 } 31 #endif 32 33 #endif /* LINUXFFA_SERVICE_CONTEXT_H */ 34