riscv-openocd/src/target/riscv
Tim Newsome 84365e65e5 Remove riscv_info_t.current_hartid
This was used to track which hart a given operation must apply to. But
we already have a target associated with each operation, and from there
we can find the desired hart id. dm013_info_t already tracks
current_hartid (meaning which hart ID is currently selected by the DM).

This makes the code simpler to understand. Also it turns out we don't
need to make sure the correct hart ID is currently selected because
there are only a few real entry points.

Change-Id: Ibe8d5e156523397f245edd6ec0a5df3239b717bf
Signed-off-by: Tim Newsome <tim@sifive.com>
2022-09-30 10:21:38 -07:00
..
Makefile.am Add RISC-V support. 2018-07-24 13:07:26 +01:00
asm.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
batch.c Upstream a whole host of RISC-V changes. 2021-10-25 16:12:05 +00:00
batch.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
debug_defines.h Update debug_defines.h. (#711) 2022-07-18 09:20:22 -07:00
encoding.h Add copyright line to encoding.h. (#718) 2022-08-25 11:04:46 -07:00
gdb_regs.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
opcodes.h Properly save/restore vtype.ill (#661) 2021-11-12 11:29:00 -08:00
program.c Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
program.h Upstream a whole host of RISC-V changes. 2021-10-25 16:12:05 +00:00
riscv-011.c Remove riscv_info_t.current_hartid 2022-09-30 10:21:38 -07:00
riscv-013.c Remove riscv_info_t.current_hartid 2022-09-30 10:21:38 -07:00
riscv.c Remove riscv_info_t.current_hartid 2022-09-30 10:21:38 -07:00
riscv.h Remove riscv_info_t.current_hartid 2022-09-30 10:21:38 -07:00
riscv_semihosting.c fix: semihosting_fileio display the unsupported info (#699) 2022-05-16 09:57:22 -07:00