aboutsummaryrefslogtreecommitdiff
path: root/tftf/tests
diff options
context:
space:
mode:
authorJ-Alves <joao.alves@arm.com>2021-01-21 14:48:13 +0000
committerJ-Alves <joao.alves@arm.com>2021-01-21 14:51:06 +0000
commit0446930111eb5750c90aedcd4b2513ac990998a3 (patch)
tree3d446e4e82c950b149c02c5b049eeccdb0f05fa8 /tftf/tests
parent4904c8632c255b6ac3fb77109f807b3a11cb910b (diff)
downloadtf-a-tests-0446930111eb5750c90aedcd4b2513ac990998a3.tar.gz
Nit: Change name from helper function and macro
Removed reference to Hafnium in name from helper function and macro to make them generic. Signed-off-by: J-Alves <joao.alves@arm.com> Change-Id: I5bdba013b3a0478dc1ef9058e71747480ba5ff1d
Diffstat (limited to 'tftf/tests')
-rw-r--r--tftf/tests/common/test_helpers.c2
-rw-r--r--tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c6
-rw-r--r--tftf/tests/runtime_services/secure_service/test_ffa_memory_sharing.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/tftf/tests/common/test_helpers.c b/tftf/tests/common/test_helpers.c
index 9861070f9..05b09d7c7 100644
--- a/tftf/tests/common/test_helpers.c
+++ b/tftf/tests/common/test_helpers.c
@@ -148,7 +148,7 @@ bool get_tftf_mailbox(struct mailbox_buffers *mb)
return false;
}
-test_result_t check_hafnium_spmc_testing_set_up(
+test_result_t check_spmc_testing_set_up(
uint32_t ffa_version_major, uint32_t ffa_version_minor,
const struct ffa_uuid *ffa_uuids, size_t ffa_uuids_size)
{
diff --git a/tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c b/tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c
index aeeb19b10..da5b94127 100644
--- a/tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c
+++ b/tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c
@@ -62,7 +62,7 @@ test_result_t test_ffa_direct_messaging(void)
/**********************************************************************
* Check SPMC has ffa_version and expected FFA endpoints are deployed.
**********************************************************************/
- CHECK_HAFNIUM_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
+ CHECK_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
/**********************************************************************
* Send a message to SP1 through direct messaging
@@ -122,7 +122,7 @@ test_result_t test_ffa_sp_to_sp_direct_messaging(void)
{
test_result_t result;
- CHECK_HAFNIUM_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
+ CHECK_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
result = send_cactus_req_echo_cmd(HYP_ID, SP_ID(1), SP_ID(2),
ECHO_VAL1);
@@ -153,7 +153,7 @@ test_result_t test_ffa_sp_to_sp_deadlock(void)
/**********************************************************************
* Check SPMC has ffa_version and expected FFA endpoints are deployed.
**********************************************************************/
- CHECK_HAFNIUM_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
+ CHECK_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
ret = CACTUS_REQ_DEADLOCK_SEND_CMD(HYP_ID, SP_ID(1), SP_ID(2),
SP_ID(3));
diff --git a/tftf/tests/runtime_services/secure_service/test_ffa_memory_sharing.c b/tftf/tests/runtime_services/secure_service/test_ffa_memory_sharing.c
index 61f1aaa38..43cf9a18f 100644
--- a/tftf/tests/runtime_services/secure_service/test_ffa_memory_sharing.c
+++ b/tftf/tests/runtime_services/secure_service/test_ffa_memory_sharing.c
@@ -52,7 +52,7 @@ static test_result_t test_memory_send_sp(uint32_t mem_func)
/***********************************************************************
* Check if SPMC has ffa_version and expected FFA endpoints are deployed.
**********************************************************************/
- CHECK_HAFNIUM_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
+ CHECK_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
GET_TFTF_MAILBOX(mb);
@@ -139,7 +139,7 @@ static test_result_t test_req_mem_send_sp_to_sp(uint32_t mem_func,
/***********************************************************************
* Check if SPMC's ffa_version and presence of expected FF-A endpoints.
**********************************************************************/
- CHECK_HAFNIUM_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
+ CHECK_SPMC_TESTING_SETUP(1, 0, expected_sp_uuids);
ret = CACTUS_REQ_MEM_SEND_SEND_CMD(HYP_ID, sender_sp, mem_func,
receiver_sp);