refactor: rename type for FF-A IDs
The FF-A ID is a unsigned 16-bit value that was named
ffa_vm_id_t. This patch changes it to simply ffa_id_t.
This is to make clearer the ID type is used for other
endpoints other than simply VMs.
Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: I60319c08481b2380bd0063b108a35fc01e2af537
diff --git a/test/hftest/service_common.c b/test/hftest/service_common.c
index a429beb..959d193 100644
--- a/test/hftest/service_common.c
+++ b/test/hftest/service_common.c
@@ -138,7 +138,7 @@
struct hftest_context *ctx;
struct ffa_value ret;
struct fdt fdt;
- ffa_vm_id_t own_id = hf_vm_get_id();
+ ffa_id_t own_id = hf_vm_get_id();
struct mailbox_buffers mb = set_up_mailbox();
ffa_notifications_bitmap_t bitmap;
struct ffa_partition_msg *message = (struct ffa_partition_msg *)mb.recv;
@@ -219,13 +219,13 @@
}
}
-ffa_vm_id_t hftest_get_dir_req_source_id(void)
+ffa_id_t hftest_get_dir_req_source_id(void)
{
struct hftest_context *ctx = hftest_get_context();
return ctx->dir_req_source_id;
}
-void hftest_set_dir_req_source_id(ffa_vm_id_t id)
+void hftest_set_dir_req_source_id(ffa_id_t id)
{
struct hftest_context *ctx = hftest_get_context();
ctx->dir_req_source_id = id;