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 /spm/cactus/cactus_tests | |
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 'spm/cactus/cactus_tests')
-rw-r--r-- | spm/cactus/cactus_tests/cactus_test_memory_sharing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spm/cactus/cactus_tests/cactus_test_memory_sharing.c b/spm/cactus/cactus_tests/cactus_test_memory_sharing.c index 21df55b..0248437 100644 --- a/spm/cactus/cactus_tests/cactus_test_memory_sharing.c +++ b/spm/cactus/cactus_tests/cactus_test_memory_sharing.c @@ -162,7 +162,7 @@ CACTUS_CMD_HANDLER(req_mem_send_cmd, CACTUS_REQ_MEM_SEND_CMD) handle = memory_init_and_send( (struct ffa_memory_region *)mb->send, PAGE_SIZE, vm_id, receiver, constituents, - constituents_count, mem_func); + constituents_count, mem_func, &ffa_ret); /* * If returned an invalid handle, we should break the test. |