diff options
author | Parshintsev Anatoly <anatoly.parshintsev@syntacore.com> | 2023-06-22 19:28:52 +0300 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2024-06-08 08:45:44 +0000 |
commit | d382c95d57c0ad9ed2dcc83c95404babb7647708 (patch) | |
tree | 797148eeb5bf4738e61b27524e3349ee0719e757 /src/target | |
parent | 2f8bb252ffb89cb2019f634230bc17b4dfccc75a (diff) | |
download | riscv-openocd-d382c95d57c0ad9ed2dcc83c95404babb7647708.zip riscv-openocd-d382c95d57c0ad9ed2dcc83c95404babb7647708.tar.gz riscv-openocd-d382c95d57c0ad9ed2dcc83c95404babb7647708.tar.bz2 |
target/riscv: support for smp group manipulation
this functionality allows to query if a target belongs to some smp group
and to dynamically turn on/off smp-specific behavior
Change-Id: I67bafb1817c621a38ae4a2f55e12e4143e992c4e
Signed-off-by: Parshintsev Anatoly <anatoly.parshintsev@syntacore.com>
Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8296
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/riscv/riscv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c index 9cd4922..511a3c6 100644 --- a/src/target/riscv/riscv.c +++ b/src/target/riscv/riscv.c @@ -3049,6 +3049,9 @@ static const struct command_registration riscv_command_handlers[] = { .usage = "", .chain = semihosting_common_handlers }, + { + .chain = smp_command_handlers + }, COMMAND_REGISTRATION_DONE }; |