diff options
author | Tim Newsome <tim@sifive.com> | 2020-12-31 13:40:49 -0800 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2020-12-31 13:40:49 -0800 |
commit | 11b8110443bbd158f73c7bf00a52bd6863d6b42f (patch) | |
tree | 23cb0e565256d2c94b0774acbf8156f19e409ef2 /src/rtos/rtos.c | |
parent | b8620764c09cbb05d8179fd5f520110fee114417 (diff) | |
parent | c69b4deae36a7bcbab5df80ec2a5dbfd652e25ac (diff) | |
download | riscv-openocd-11b8110443bbd158f73c7bf00a52bd6863d6b42f.zip riscv-openocd-11b8110443bbd158f73c7bf00a52bd6863d6b42f.tar.gz riscv-openocd-11b8110443bbd158f73c7bf00a52bd6863d6b42f.tar.bz2 |
Merge branch 'master' into from_upstream
Conflicts:
.github/workflows/snapshot.yml
.gitmodules
src/flash/nor/drivers.c
src/helper/jep106.inc
src/rtos/hwthread.c
src/target/riscv/riscv.c
src/target/target.c
Change-Id: I62f65e10d15dcda4c405d4042cce1d96f8e1680a
Diffstat (limited to 'src/rtos/rtos.c')
-rw-r--r-- | src/rtos/rtos.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c index 4798f04..b391b2c 100644 --- a/src/rtos/rtos.c +++ b/src/rtos/rtos.c @@ -59,6 +59,8 @@ static struct rtos_type *rtos_types[] = { NULL }; +static int rtos_try_next(struct target *target); + int rtos_thread_packet(struct connection *connection, const char *packet, int packet_size); int rtos_smp_init(struct target *target) @@ -632,7 +634,7 @@ int rtos_generic_stack_read(struct target *target, return ERROR_OK; } -int rtos_try_next(struct target *target) +static int rtos_try_next(struct target *target) { struct rtos *os = target->rtos; struct rtos_type **type = rtos_types; |