Add service locator component
Change-Id: I58ad588deff3c0904b3ba8b9162b20440e9ff7d3
Signed-off-by: Julian Hall <julian.hall@arm.com>
diff --git a/components/service/locator/linux/linux_env.c b/components/service/locator/linux/linux_env.c
new file mode 100644
index 0000000..cb940f4
--- /dev/null
+++ b/components/service/locator/linux/linux_env.c
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <service_locator.h>
+#include <service/locator/linux/ffa/linuxffa_location_strategy.h>
+
+
+void service_locator_envinit(void)
+{
+ /*
+ * Register all service location strategies that could be used
+ * to locate services from Linux userspace.
+ */
+ service_locator_register_strategy(linuxffa_location_strategy());
+}
\ No newline at end of file