target/riscv: revive 'riscv resume_order'
This functionality was lost in [1], which was merged as commit
615709d140 ("Upstream a whole host of RISC-V changes.").
Now it works as expected again.
Add convenience macro foreach_smp_target_direction().
Link: [1] https://github.com/riscv/riscv-openocd/pull/567
Change-Id: I1545fa6b45b8a07e27c8ff9dcdcfa2fc4f950cd1
Signed-off-by: Tim Newsome <tim@sifive.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6785
Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
a11fe473ea
commit
49c40a7529
@@ -25,6 +25,9 @@
|
||||
#define foreach_smp_target(pos, head) \
|
||||
list_for_each_entry(pos, head, lh)
|
||||
|
||||
#define foreach_smp_target_direction(forward, pos, head) \
|
||||
list_for_each_entry_direction(forward, pos, head, lh)
|
||||
|
||||
extern const struct command_registration smp_command_handlers[];
|
||||
|
||||
int gdb_read_smp_packet(struct connection *connection,
|
||||
|
||||
Reference in New Issue
Block a user