feat(manifest): support FF-A v1.2 direct messages
Add additional messaging method parsing to indicate whether a partition
can send/receive messages via FFA_MSG_SEND_DIRECT_REQ2.
Also enforce that a manifest declaring an FF-A version < FF-A v1.2
cannot declare usage of FFA_MSG_SEND_DIRECT_REQ2.
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
Change-Id: I56f8e15dd00f16932ab7059dc585e12a9ca28f09
diff --git a/inc/hf/vm.h b/inc/hf/vm.h
index 9b7f40e..3d28bf4 100644
--- a/inc/hf/vm.h
+++ b/inc/hf/vm.h
@@ -247,7 +247,7 @@
ipaddr_t blob_addr;
} boot_info;
- uint8_t messaging_method;
+ uint16_t messaging_method;
/**
* Action specified by a Partition through the manifest in response to
@@ -369,7 +369,7 @@
uint32_t *ids_count, uint32_t *lists_sizes,
uint32_t *lists_count,
const uint32_t ids_max_count);
-bool vm_supports_messaging_method(struct vm *vm, uint8_t messaging_method);
+bool vm_supports_messaging_method(struct vm *vm, uint16_t messaging_method);
void vm_notifications_set_npi_injected(struct vm_locked vm_locked,
bool npi_injected);
bool vm_notifications_is_npi_injected(struct vm_locked vm_locked);