aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMax Shvetsov <maksims.svecovs@arm.com>2020-06-11 15:03:01 +0100
committerMax Shvetsov <maksims.svecovs@arm.com>2020-07-27 13:36:01 +0100
commitc17c1d3ad278e007b551617be23b09e13b577ef0 (patch)
tree678e8f04c0832315e5a08062d0e32d063cc1625e /include
parentd07b682769c1861bf12ef3a9177c62796c5c9d2b (diff)
downloadtf-a-tests-c17c1d3ad278e007b551617be23b09e13b577ef0.tar.gz
SPM: TFTF test of FFA_FEATURES interface.
Forwards FFA_FEATURES call to SPMC via SPMD from the normal world. Expected responses should be edited according to the feature implementation progress. Signed-off-by: Max Shvetsov <maksims.svecovs@arm.com> Change-Id: I057100b4086108b0779e3fa76fbd86e0818f765c
Diffstat (limited to 'include')
-rw-r--r--include/runtime_services/ffa_helpers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/runtime_services/ffa_helpers.h b/include/runtime_services/ffa_helpers.h
index d4ef8039c..1a49fa87c 100644
--- a/include/runtime_services/ffa_helpers.h
+++ b/include/runtime_services/ffa_helpers.h
@@ -32,7 +32,7 @@ typedef unsigned short ffa_vcpu_count_t;
* TODO: In the future this file should be placed in a common folder, and not
* under tftf. The functions in this file are also used by SPs for SPM tests.
*/
-
+bool check_spmc_execution_level(void);
smc_ret_values ffa_msg_send_direct_req(uint32_t source_id, uint32_t dest_id, uint32_t message);
smc_ret_values ffa_msg_send_direct_req64(uint32_t source_id, uint32_t dest_id, uint64_t message);
smc_ret_values ffa_run(uint32_t dest_id, uint32_t vcpu_id);
@@ -42,6 +42,7 @@ smc_ret_values ffa_msg_wait(void);
smc_ret_values ffa_msg_send_direct_resp(ffa_vm_id_t source_id,
ffa_vm_id_t dest_id, uint32_t message);
smc_ret_values ffa_error(int32_t error_code);
+smc_ret_values ffa_features(uint32_t feature);
#endif /* __ASSEMBLY__ */