]> www.infradead.org Git - users/borneoa/openocd-next.git/commit
target: Add TARGET_UNAVAILABLE state
authorTim Newsome <tim@sifive.com>
Thu, 27 Oct 2022 22:21:31 +0000 (15:21 -0700)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 7 Jun 2025 08:15:30 +0000 (08:15 +0000)
commit92287c1a2afa93f2f20d2249827a57ffac6760c6
treeeec8ad569d8e9635ae2044900d1d4cf05c5e2543
parent4fe57a0c197158958c7cc295002504d6434d4777
target: Add TARGET_UNAVAILABLE state

This is added for future RISC-V changes. The RISC-V debug interface can
explicitly tell a debugger when a hart is unavailable. This is used for
instance when that hart is powered down (or yet to be powered up out of
reset).

Imported from
https://github.com/riscv-collab/riscv-openocd/pull/752

Change-Id: I8a062d59eea1e5b3c788281a75159592db024683
Signed-off-by: Tim Newsome <tim@sifive.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8911
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Bernhard Rosenkränzer <bero@baylibre.com>
src/target/target.c
src/target/target.h