test(fuzz): add FF-A fuzzing
Add necessary components for FF-A calls to be used in fuzzing framework
including bias tree, `run_ffa_fuzz` helper function, makefile additions,
and initial SMC description file with FF-A smc calls.
Can use ffa_smc_calls.txt to generate necessary header files.
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
Change-Id: Ib19714342d31cacd818471686a7e4c8910fed5c3
diff --git a/include/runtime_services/spm_common.h b/include/runtime_services/spm_common.h
index 4dd5e5c..fa755b9 100644
--- a/include/runtime_services/spm_common.h
+++ b/include/runtime_services/spm_common.h
@@ -101,6 +101,9 @@
uint32_t arg);
void dump_ffa_value(struct ffa_value ret);
+uint64_t ffa_get_uuid_lo(const struct ffa_uuid uuid);
+uint64_t ffa_get_uuid_hi(const struct ffa_uuid uuid);
+
bool check_spmc_execution_level(void);
unsigned int get_ffa_feature_test_target(
@@ -152,6 +155,9 @@
bool enable_trusted_wdog_interrupt(ffa_id_t source, ffa_id_t dest);
bool disable_trusted_wdog_interrupt(ffa_id_t source, ffa_id_t dest);
+bool ffa_partition_info_regs_get_part_info(
+ struct ffa_value *args, uint8_t idx,
+ struct ffa_partition_info *partition_info);
bool ffa_partition_info_regs_helper(const struct ffa_uuid uuid,
const struct ffa_partition_info *expected,
const uint16_t expected_size);