summaryrefslogtreecommitdiff
path: root/spm/cactus/cactus_tests
AgeCommit message (Collapse)Author
2021-03-12SPM: Properly placing Cactus test filesJ-Alves
Signed-off-by: J-Alves <joao.alves@arm.com> Change-Id: I28b718775792d94458756fcab59b3c62c7800233
2021-03-12SPM: Tidying FF-A Memory Sharing testsJ-Alves
Moving code about memory sharing tests to comply with recent changes: - Placed helper functions that can be used by TFTF and Cactus in files spm_common.c/h. - Removed 'ffa_memory_sharing_test' and added its body to handler of test command CACTUS_MEM_SEND_CMD. Signed-off-by: J-Alves <joao.alves@arm.com> Change-Id: I58af9b475730d171306581741becbb0665e1859d
2021-03-12Cactus: Refactor handling of commandsJ-Alves
Added helper macros to define a command handler, build a command table in which each element is a pair of the handler and respective command ID. Message loop has been refactored to traverse the command table looking for the ID, and to call the respective command handler. Available tests have been moved to their own command handler. Signed-off-by: J-Alves <joao.alves@arm.com> Change-Id: I38a50a8d47b083c81c21950d98341de660891c61