1 /* 2 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef MM_COMMUNICATE_LOCATION_STRATEGY_H 8 #define MM_COMMUNICATE_LOCATION_STRATEGY_H 9 10 #include <service_locator.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /* 17 * Returns a service_location_strategy for locating a service instance 18 * hosted in a secure partition, accessed using MM Communicate from Linux userspace. 19 * Relies on an FFA Linux kernel driver. 20 */ 21 const struct service_location_strategy *mm_communicate_location_strategy(void); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 #endif /* MM_COMMUNICATE_LOCATION_STRATEGY_H */ 28