diff options
author | Maksims Svecovs <maksims.svecovs@arm.com> | 2021-12-10 13:08:41 +0000 |
---|---|---|
committer | Maksims Svecovs <maksims.svecovs@arm.com> | 2022-01-14 12:43:11 +0000 |
commit | a65a907146dd93557ac7aa2584cd2e6f626dd975 (patch) | |
tree | ee5608c767d3bed7f63bd9011480ed92f47deba4 /include | |
parent | 911fa6ba32e6284814845632e62f69b41473d81e (diff) |
refactor(ff-a): mem share helper change to test error returns
In order to test FF-A memory sharing operations in faulty cases we need
to be able to get the details of smc call failure in tftf and cactus.
Passes smc_ret_value in the relevant memory management test helpers.
Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com>
Change-Id: I81059b77cbb01fe9427905adbe262ba8d0670cee
Diffstat (limited to 'include')
-rw-r--r-- | include/runtime_services/spm_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/runtime_services/spm_common.h b/include/runtime_services/spm_common.h index 58569d5..4ec71fc 100644 --- a/include/runtime_services/spm_common.h +++ b/include/runtime_services/spm_common.h @@ -140,13 +140,13 @@ bool memory_relinquish(struct ffa_mem_relinquish *m, uint64_t handle, ffa_memory_handle_t memory_send( struct ffa_memory_region *memory_region, uint32_t mem_func, - uint32_t fragment_length, uint32_t total_length); + uint32_t fragment_length, uint32_t total_length, smc_ret_values *ret); ffa_memory_handle_t memory_init_and_send( struct ffa_memory_region *memory_region, size_t memory_region_max_size, ffa_id_t sender, ffa_id_t receiver, const struct ffa_memory_region_constituent* constituents, - uint32_t constituents_count, uint32_t mem_func); + uint32_t constituents_count, uint32_t mem_func, smc_ret_values *ret); bool ffa_partition_info_helper(struct mailbox_buffers *mb, const struct ffa_uuid uuid, |