feat(notifications): bitmaps create and destroy
Handle FF-A calls FFA_NOTIFICATION_BITMAP_CREATE and
FFA_NOTIFICATION_BITMAP_DESTROY.
Interfaces are to be used by the NWd (Hypervisor or single OS kernel).
Change-Id: I0d805875ae6c7f8c080bda04e9e496d9e0d79b00
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/src/arch/fake/hypervisor/ffa.c b/src/arch/fake/hypervisor/ffa.c
index 288b256..5a5a13b 100644
--- a/src/arch/fake/hypervisor/ffa.c
+++ b/src/arch/fake/hypervisor/ffa.c
@@ -8,6 +8,7 @@
#include "hf/ffa.h"
+#include "hf/ffa_internal.h"
#include "hf/vcpu.h"
ffa_vm_id_t arch_ffa_spmc_id_get(void)
@@ -76,3 +77,28 @@
(void)vm;
return false;
}
+
+bool plat_ffa_is_notifications_create_valid(struct vcpu *current,
+ ffa_vm_id_t vm_id)
+{
+ (void)current;
+ (void)vm_id;
+
+ return false;
+}
+
+struct ffa_value plat_ffa_notifications_bitmap_create(
+ ffa_vm_id_t vm_id, ffa_vcpu_count_t vcpu_count)
+{
+ (void)vm_id;
+ (void)vcpu_count;
+
+ return ffa_error(FFA_NOT_SUPPORTED);
+}
+
+struct ffa_value plat_ffa_notifications_bitmap_destroy(ffa_vm_id_t vm_id)
+{
+ (void)vm_id;
+
+ return ffa_error(FFA_NOT_SUPPORTED);
+}