aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/rtos.h
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-05-07 14:35:51 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2023-05-18 10:16:32 +0000
commitaaa67f733df5ef29bfdc83e808434a23d6edb580 (patch)
tree1a7a18967ba3e08d2933889cae22852d12aca42e /src/rtos/rtos.h
parentfb34eeb442fe15593161e3254abd790077bc6e05 (diff)
downloadriscv-openocd-aaa67f733df5ef29bfdc83e808434a23d6edb580.zip
riscv-openocd-aaa67f733df5ef29bfdc83e808434a23d6edb580.tar.gz
riscv-openocd-aaa67f733df5ef29bfdc83e808434a23d6edb580.tar.bz2
rtos: move prototype of rtos_thread_packet() in rtos.h
The function rtos_thread_packet() is used across rtos and declared locally as extern. Move the prototype of the function in common include rtos.h Change-Id: I50d311b583148a2de628de0997ef1afc9103a70e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7677 Tested-by: jenkins
Diffstat (limited to 'src/rtos/rtos.h')
-rw-r--r--src/rtos/rtos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rtos/rtos.h b/src/rtos/rtos.h
index e283dd2..5ba8b26 100644
--- a/src/rtos/rtos.h
+++ b/src/rtos/rtos.h
@@ -123,6 +123,7 @@ int rtos_generic_stack_read(struct target *target,
struct rtos_reg **reg_list,
int *num_regs);
int gdb_thread_packet(struct connection *connection, char const *packet, int packet_size);
+int rtos_thread_packet(struct connection *connection, const char *packet, int packet_size);
int rtos_get_gdb_reg(struct connection *connection, int reg_num);
int rtos_get_gdb_reg_list(struct connection *connection);
int rtos_update_threads(struct target *target);