aboutsummaryrefslogtreecommitdiff
path: root/tftf
diff options
context:
space:
mode:
authorJ-Alves <joao.alves@arm.com>2021-01-25 14:11:06 +0000
committerJ-Alves <joao.alves@arm.com>2021-03-12 12:56:48 +0000
commit0e1e7ca1967768891dc24ba384a0744d504a6fca (patch)
tree608cdb905f076b9894945590432eb1174be82d9e /tftf
parent7d28b336e1f31afa88b6dac8ac9c5db73cdaae81 (diff)
downloadtf-a-tests-0e1e7ca1967768891dc24ba384a0744d504a6fca.tar.gz
Cactus: Refactor handling of commands
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
Diffstat (limited to 'tftf')
0 files changed, 0 insertions, 0 deletions