diff options
author | Imre Kis <imre.kis@arm.com> | 2021-02-25 17:56:19 +0100 |
---|---|---|
committer | György Szing <gyorgy.szing@arm.com> | 2021-07-02 13:58:01 +0200 |
commit | be97e77f3b1737f2dddbf21f84eff5f8d14edd20 (patch) | |
tree | f78713c8d6fc7c8e40f40278368357a4c855858a /components/messaging/ffa/libsp/tests.cmake | |
parent | c674b5b698d149b5d042ea8f4aa46c303f55df83 (diff) | |
download | trusted-services-be97e77f3b1737f2dddbf21f84eff5f8d14edd20.tar.gz |
libsp: Add FF-A direct message routing extension
The routing extension is a layer on top of FF-A which enables SPs to
send direct messages to the normal world component while maintaining
the state of the SPs in the call chain.
Change-Id: Ic4d6d5cbbccbe1adb534e7b8d2502b78b3d9cb04
Signed-off-by: Imre Kis <imre.kis@arm.com>
Diffstat (limited to 'components/messaging/ffa/libsp/tests.cmake')
-rw-r--r-- | components/messaging/ffa/libsp/tests.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/messaging/ffa/libsp/tests.cmake b/components/messaging/ffa/libsp/tests.cmake index 092aceff3..d851442d5 100644 --- a/components/messaging/ffa/libsp/tests.cmake +++ b/components/messaging/ffa/libsp/tests.cmake @@ -138,4 +138,19 @@ unit_test_add_suite( ${UNIT_TEST_PROJECT_PATH}/components/common/utils/include COMPILE_DEFINITIONS -DARM64 +) + +unit_test_add_suite( + NAME libsp_sp_messaging_with_routing_extension + SOURCES + ${CMAKE_CURRENT_LIST_DIR}/test/test_sp_messaging.cpp + ${CMAKE_CURRENT_LIST_DIR}/test/mock_ffa_api.cpp + ${CMAKE_CURRENT_LIST_DIR}/sp_messaging.c + ${CMAKE_CURRENT_LIST_DIR}/ffa_direct_msg_routing_extension.c + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_LIST_DIR}/include/ + ${UNIT_TEST_PROJECT_PATH}/components/common/utils/include + COMPILE_DEFINITIONS + -DARM64 + -DFFA_DIRECT_MSG_ROUTING_EXTENSION=1 )
\ No newline at end of file |