Julian Hall | 8cff2b8 | 2020-11-23 18:12:17 +0100 | [diff] [blame] | 1 | /* |
Julian Hall | 51c8aa8 | 2021-11-23 09:13:35 +0000 | [diff] [blame] | 2 | * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved. |
Julian Hall | 8cff2b8 | 2020-11-23 18:12:17 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <service_locator.h> |
| 8 | #include <service/locator/linux/ffa/linuxffa_location_strategy.h> |
Julian Hall | 51c8aa8 | 2021-11-23 09:13:35 +0000 | [diff] [blame] | 9 | #include <service/locator/linux/mm_communicate/mm_communicate_location_strategy.h> |
Julian Hall | 8cff2b8 | 2020-11-23 18:12:17 +0100 | [diff] [blame] | 10 | |
| 11 | void service_locator_envinit(void) |
| 12 | { |
Julian Hall | 51c8aa8 | 2021-11-23 09:13:35 +0000 | [diff] [blame] | 13 | /* |
| 14 | * Register all service location strategies that could be used |
| 15 | * to locate services from Linux userspace. |
| 16 | */ |
Imre Kis | 8d06162 | 2023-08-01 14:35:22 +0200 | [diff] [blame] | 17 | service_locator_register_strategy(linux_ts_location_strategy()); |
Julian Hall | 51c8aa8 | 2021-11-23 09:13:35 +0000 | [diff] [blame] | 18 | service_locator_register_strategy(mm_communicate_location_strategy()); |
| 19 | } |