riscv-openocd/src/target/riscv
Antonio Borneo 6f5259db05 riscv: prefer ARRAY_SIZE() to DIM()
OpenOCD already defines the macro ARRAY_SIZE, while riscv code
uses a local macro DIM.

Prefer using the macro ARRAY_SIZE() instead of DIM().
Not all the riscv code has been upstreamed, yes; this patch only
covers the code not upstreamed.

Change-Id: Ie3e411280f76bc798f1d51c2574cfec148ee0d0d
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2021-05-16 13:53:10 +02: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 tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
batch.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
debug_defines.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
encoding.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
gdb_regs.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
opcodes.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
program.c Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
program.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
riscv-011.c Add memory access while running to `riscv info` (#576) 2021-01-29 12:51:22 -08:00
riscv-013.c riscv: prefer ARRAY_SIZE() to DIM() 2021-05-16 13:53:10 +02:00
riscv.c riscv: prefer ARRAY_SIZE() to DIM() 2021-05-16 13:53:10 +02:00
riscv.h Add authdata_read/authdata_write support to 0.11. (#575) 2021-01-28 09:56:51 -08:00
riscv_semihosting.c Merge branch 'master' into from_upstream 2020-12-31 13:40:49 -08:00