riscv-openocd/src/target
Evgeniy Naydanov aa9a3fa348 target/riscv: replace `info->*_delay` with `riscv_scan_delays`
* Improves error handling.
* Handles possible overflow.

Change-Id: Iae0df9356af06cc21dc71c86ba7c923d1515bdc5
Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
2024-07-01 15:42:42 +03:00
..
espressif target/esp_xtensa_smp: don't use coreid as an SMP index 2024-03-02 11:04:14 +00:00
openrisc target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
riscv target/riscv: replace `info->*_delay` with `riscv_scan_delays` 2024-07-01 15:42:42 +03:00
xtensa target/xtensa: avoid IHI for writes to non-executable memory 2024-05-11 11:55:55 +00:00
Makefile.am mips32: add per-cpu quirks feature 2023-08-26 11:44:50 +00:00
a64_disassembler.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
a64_disassembler.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
aarch64.c target: aarch64: fix regs invalidation when -defer-examine 2024-05-04 08:34:37 +00:00
aarch64.h aarch64: Use 64-bit reads/writes to access SCTLR_EL1 2023-11-18 11:21:38 +00:00
adi_v5_dapdirect.c jtag: rewrite jim_jtag_configure() as COMMAND_HANDLER 2024-01-13 14:51:22 +00:00
adi_v5_jtag.c target/arm_adi_v5: fix DP SELECT logic 2023-12-29 14:33:55 +00:00
adi_v5_swd.c target/adi_v5_swd: move setting of do_reconnect one level up 2024-03-24 13:42:24 +00:00
algorithm.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
algorithm.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arc.c target/arc: skip over breakpoints in arc_resume() 2024-01-29 13:36:27 +03:00
arc.h target: arc: rewrite command 'arc add-reg' as COMMAND_HANDLER 2023-02-03 22:48:48 +00:00
arc_cmd.c target: arc: rewrite command 'arc add-reg' as COMMAND_HANDLER 2023-02-03 22:48:48 +00:00
arc_cmd.h openocd: src: fix incorrect SPDX tags 2022-07-23 13:16:09 +00:00
arc_jtag.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arc_jtag.h openocd: src: fix incorrect SPDX tags 2022-07-23 13:16:09 +00:00
arc_mem.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arc_mem.h openocd: src: fix incorrect SPDX tags 2022-07-23 13:16:09 +00:00
arm.h target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
arm7_9_common.c breakpoints: use 64-bit type for watchpoint mask and value 2023-08-08 06:11:01 +00:00
arm7_9_common.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm7tdmi.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm7tdmi.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm9tdmi.c target: with pointers, use NULL instead of 0 2023-05-05 22:14:29 +00:00
arm9tdmi.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm11.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm11.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm11_dbgtap.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm11_dbgtap.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm720t.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm720t.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm920t.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm920t.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm926ejs.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm926ejs.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm946e.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm946e.h target: don't export local symbols 2022-09-13 22:13:58 +00:00
arm966e.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm966e.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm_adi_v5.c target/arm_adi_v5: introduce adiv5_jim_configure_ext() 2024-03-16 14:35:24 +00:00
arm_adi_v5.h target/arm_adi_v5: introduce adiv5_jim_configure_ext() 2024-03-16 14:35:24 +00:00
arm_coresight.h arm_adi_v5: replace dap_lookup_cs_component() 2022-05-14 08:55:52 +00:00
arm_cti.c target: cti: rewrite command 'cti names' as COMMAND_HANDLER 2023-03-25 18:12:20 +00:00
arm_cti.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm_dap.c target/arm_adi_v5,arm_dap: introduce pre_connect_init() dap operation 2023-12-29 14:34:50 +00:00
arm_disassembler.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm_disassembler.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm_dpm.c arm_opcode: Add support for ARM MCRR/MRRC 2023-10-14 11:55:42 +00:00
arm_dpm.h arm_opcode: Add support for ARM MCRR/MRRC 2023-10-14 11:55:42 +00:00
arm_jtag.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm_jtag.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm_opcodes.h arm_opcode: Add support for ARM MCRR/MRRC 2023-10-14 11:55:42 +00:00
arm_semihosting.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm_semihosting.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm_simulator.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm_simulator.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm_tpiu_swo.c openocd: drop include of target_type.h 2024-05-26 09:57:51 +00:00
arm_tpiu_swo.h armv7m_trace: get rid of the old tpiu code 2021-03-10 21:34:04 +00:00
armv4_5.c target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
armv4_5.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv4_5_cache.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
armv4_5_cache.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv4_5_mmu.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
armv4_5_mmu.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv7a.c cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
armv7a.h cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
armv7a_cache.c cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
armv7a_cache.h cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
armv7a_cache_l2x.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
armv7a_cache_l2x.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv7a_mmu.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
armv7a_mmu.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv7m.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
armv7m.h cortex_m: add detection of MVE feature for Armv8.1-M cores 2024-01-29 13:36:27 +03:00
armv7m_trace.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
armv7m_trace.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv8.c target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
armv8.h aarch64: Add support for ARMv8-R 2023-04-30 14:46:25 +00:00
armv8_cache.c target: clarify usage of `coreid` 2023-12-01 22:23:13 +00:00
armv8_cache.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv8_dpm.c portability fix: Switch binary literals to hex 2024-02-15 09:00:50 +00:00
armv8_dpm.h openocd: src: replace the incomplete GPL-2.0-or-later license tag 2022-07-23 13:15:24 +00:00
armv8_opcodes.c target/aarch64: add AArch64 mdd and mwd support 2023-09-17 12:07:17 +00:00
armv8_opcodes.h portability fix: Switch binary literals to hex 2024-02-15 09:00:50 +00:00
avr32_ap7k.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
avr32_ap7k.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
avr32_jtag.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
avr32_jtag.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
avr32_mem.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
avr32_mem.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
avr32_regs.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
avr32_regs.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
avrt.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
avrt.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
breakpoints.c Fix build. 2023-12-22 09:34:19 -08:00
breakpoints.h Merge commit 'eba5d211937d1ebcb3669810ff63ad1083600b67' into from_upstream 2023-12-05 14:35:35 -08:00
cortex_a.c cortex_a: drop cortex_a_dap_write_memap_register_u32() 2024-05-11 11:54:51 +00:00
cortex_a.h target: move parent target structs just after common_magic 2022-08-14 12:10:14 +00:00
cortex_m.c cortex_m: don't try to halt not-examined targets 2024-05-04 08:33:54 +00:00
cortex_m.h target/cortex_m: Add Cortex-M85 part 2023-12-30 13:11:47 +00:00
dsp563xx.c Merge commit '16e9b9c44fa62ea6eec99d1fb7bc43a8f1cc2f7e' into from_upstream 2023-12-22 09:08:06 -08:00
dsp563xx.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
dsp563xx_once.c target: with pointers, use NULL instead of 0 2023-05-05 22:14:29 +00:00
dsp563xx_once.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
dsp5680xx.c dsp5680xx: fix clang error core.UndefinedBinaryOperatorResult 2022-11-11 20:11:22 +00:00
dsp5680xx.h target: don't export local symbols 2022-09-13 22:13:58 +00:00
embeddedice.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
embeddedice.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
esirisc.c target/esirisc: free memory at OpenOCD exit 2024-01-28 14:19:46 +00:00
esirisc.h target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
esirisc_jtag.c esirisc_jtag: fix clang error core.VLASize 2022-11-11 20:11:03 +00:00
esirisc_jtag.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
esirisc_regs.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
esirisc_trace.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
esirisc_trace.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
etb.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
etb.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
etm.c target: use boolean values for 'valid' and 'dirty' flags 2023-11-18 11:16:06 +00:00
etm.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
etm_dummy.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
etm_dummy.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
fa526.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
feroceon.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
hla_target.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
image.c Revert "break from long loops on shutdown request" 2024-01-26 12:22:11 +03:00
image.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
lakemont.c target: use 'ULL' suffix for long constants 2023-05-05 22:10:18 +00:00
lakemont.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
ls1_sap.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
mem_ap.c mem_ap: fix GDB connections 2024-03-09 11:03:49 +00:00
mips32.c target/mips32: fix clang sbuild check fail 2024-04-07 19:36:49 +00:00
mips32.h target/mips32: add fpu access support 2024-03-16 14:47:16 +00:00
mips32_dmaacc.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
mips32_dmaacc.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
mips32_pracc.c target/mips32: add fpu access support 2024-03-16 14:47:16 +00:00
mips32_pracc.h target/mips32: add fpu access support 2024-03-16 14:47:16 +00:00
mips64.c target: use boolean values for 'valid' and 'dirty' flags 2023-11-18 11:16:06 +00:00
mips64.h target: use unsigned int for timeout_ms 2023-05-27 06:41:17 +00:00
mips64_pracc.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
mips64_pracc.h target: use 'ULL' suffix for long constants 2023-05-05 22:10:18 +00:00
mips_cpu.h LICENSES: drop SPDX tag 'GPL-2.0' and use 'GPL-2.0-only' 2024-01-29 13:36:27 +03:00
mips_ejtag.c target/mips32: add mips ejtag command 2024-01-06 13:51:44 +00:00
mips_ejtag.h target/mips32: optimize pracc access 2024-01-06 13:52:02 +00:00
mips_m4k.c target: clarify usage of `coreid` 2023-12-01 22:23:13 +00:00
mips_m4k.h target: don't export local symbols 2022-09-13 22:13:58 +00:00
mips_mips64.c target: use boolean values for 'valid' and 'dirty' flags 2023-11-18 11:16:06 +00:00
mips_mips64.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
quark_d20xx.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
quark_x10xx.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
register.c register: refactor register_cache_invalidate() 2023-08-03 20:24:16 +00:00
register.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
rtt.c target: rtt: include rtt.h 2023-05-05 22:14:11 +00:00
rtt.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
semihosting_common.c target/semihosting: Fix double free() 2024-05-26 09:55:45 +00:00
semihosting_common.h semihosting: improve semihosting opcode debug messages 2023-07-01 15:03:30 +00:00
smp.c smp: fix SIGSEGV for "smp off" during target examine 2024-05-04 08:35:27 +00:00
smp.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
startup.tcl cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
stm8.c target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
stm8.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
target.c Merge up to 437dde701c from upstream 2024-05-30 19:46:03 +03:00
target.h Merge up to a35e254c53 from upstream 2024-03-28 12:40:33 +03:00
target_request.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
target_request.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
target_type.h target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
testee.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
trace.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
trace.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
x86_32_common.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
x86_32_common.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
xscale.c breakpoints: use 64-bit type for watchpoint mask and value 2023-08-08 06:11:01 +00:00
xscale.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00