commit | 0e1e7ca1967768891dc24ba384a0744d504a6fca | [log] [tgz] |
---|---|---|
author | J-Alves <joao.alves@arm.com> | Mon Jan 25 14:11:06 2021 +0000 |
committer | J-Alves <joao.alves@arm.com> | Fri Mar 12 12:56:48 2021 +0000 |
tree | 608cdb905f076b9894945590432eb1174be82d9e | |
parent | 7d28b336e1f31afa88b6dac8ac9c5db73cdaae81 [diff] |
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