aboutsummaryrefslogtreecommitdiff
path: root/contrib/rpc_examples/ocd_rpc_example.py
diff options
context:
space:
mode:
authorEvgeniy Naydanov <evgeniy.naydanov@syntacore.com>2024-12-25 13:11:33 +0300
committerEvgeniy Naydanov <evgeniy.naydanov@syntacore.com>2024-12-25 17:31:51 +0300
commit83dc8a6446ca8a8604dbd706373c1904d4004b97 (patch)
tree971aae136a2156295ba91edf54a30025583822d2 /contrib/rpc_examples/ocd_rpc_example.py
parentf82c5a7c048eb70fdc4dff6f53002fa1d3a1bda5 (diff)
downloadriscv-openocd-83dc8a6446ca8a8604dbd706373c1904d4004b97.zip
riscv-openocd-83dc8a6446ca8a8604dbd706373c1904d4004b97.tar.gz
riscv-openocd-83dc8a6446ca8a8604dbd706373c1904d4004b97.tar.bz2
target/riscv: clear `abstract_cmd_maybe_busy` after commands
If a sufficient delay was used before reading `abstractcs` during the batch execution, `dm->abstract_cmd_maybe_busy` was not cleared and the following call to `wait_for_idle_if_needed()` (e.g. on `resume`), would result in a call to `wait_for_idle()` performing a redundant read of `abstractcs`. While this is not a bug, it impedes the performance. Change-Id: I9d234ef6d53af96c60892d71247c10e631dfcc3b Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
Diffstat (limited to 'contrib/rpc_examples/ocd_rpc_example.py')
0 files changed, 0 insertions, 0 deletions