refactor(notifications): set functions
Refactor notifications set functions from vm module to prepare for
adding framework notifications.
Change-Id: I7cf463bddbffcac7c4b8642e57854b0c9cd4bf4d
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/src/vm.c b/src/vm.c
index 0b3c124..ada5d80 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -683,9 +683,10 @@
: (to_check->bindings_per_vcpu & notif) == 0U;
}
-void vm_notifications_set(struct vm_locked vm_locked, bool is_from_vm,
- ffa_notifications_bitmap_t notifications,
- ffa_vcpu_index_t vcpu_id, bool is_per_vcpu)
+void vm_notifications_partition_set_pending(
+ struct vm_locked vm_locked, bool is_from_vm,
+ ffa_notifications_bitmap_t notifications, ffa_vcpu_index_t vcpu_id,
+ bool is_per_vcpu)
{
CHECK(vm_locked.vm != NULL);
struct notifications *to_set =