From 38eea2367cae855ba0a4be1fb188d61cbff23d91 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 3 May 2021 12:21:17 -0700 Subject: Add keep_alive() to system bus read loop. Without it the repeat read test wasn't passing any longer. This is because 7dd323b26d93e49e409e02053e30f53ac8138cd5 reduced the remote bitbang performance. I've notified the mailing list about this. Change-Id: Ie71592792202423aec89fa889b9e3d2a60a3c25f Signed-off-by: Tim Newsome --- src/target/riscv/riscv-013.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 0c1c049..80fe5e5 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -2745,6 +2745,7 @@ static int read_memory_bus_v1(struct target *target, target_addr_t address, } next_read = address + i * size + j * 4; } + keep_alive(); } uint32_t sbcs_read = 0; -- cgit v1.1