FF-A: adjust partition info get VM/SP properties
Partition info get currently returns properties stating partitions
only support indirect messaging. This is not necessarily true for
Secure Partitions as of FF-A v1.0. Tune the partition info get
properties response such that indirect messaging is reported
as supported for NWd VMs and direct messaging for SWd SPs.
Change-Id: I1b839367d4d921b971f227dfca76f9b0e1ad7e5d
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
diff --git a/src/arch/fake/hypervisor/vm.c b/src/arch/fake/hypervisor/vm.c
new file mode 100644
index 0000000..48398ac
--- /dev/null
+++ b/src/arch/fake/hypervisor/vm.c
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2020 The Hafnium Authors.
+ *
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
+ */
+
+#include "hf/arch/vm.h"
+
+ffa_partition_properties_t arch_vm_partition_properties(ffa_vm_id_t id)
+{
+ (void)id;
+
+ return 0;
+}