cfad709bce
The end address calculation for NA4 mode is wrong because the address used isn't shifted. It doesn't watch 4 bytes but a huge range because the end address calculation is wrong. The solution is to use the shifted address calculated for start address variable. Modifications are tested on Zephyr OS userspace test suite which works for other RISC-V boards (E31 and E34 core). Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20200706084550.24117-1-amergnat@baylibre.com Message-Id: <20200706084550.24117-1-amergnat@baylibre.com> [ Changes by AF: - Improve the commit title and message ] Signed-off-by: Alistair Francis <alistair.francis@wdc.com> |
||
---|---|---|
.. | ||
insn_trans | ||
cpu_bits.h | ||
cpu_helper.c | ||
cpu_user.h | ||
cpu-param.h | ||
cpu.c | ||
cpu.h | ||
csr.c | ||
fpu_helper.c | ||
gdbstub.c | ||
helper.h | ||
insn16-32.decode | ||
insn16-64.decode | ||
insn16.decode | ||
insn32-64.decode | ||
insn32.decode | ||
instmap.h | ||
internals.h | ||
Makefile.objs | ||
monitor.c | ||
op_helper.c | ||
pmp.c | ||
pmp.h | ||
trace-events | ||
translate.c | ||
vector_helper.c |