diff options
author | Samuel Obuch <samuel.obuch@espressif.com> | 2025-02-04 16:27:23 +0100 |
---|---|---|
committer | Samuel Obuch <samuel.obuch@espressif.com> | 2025-03-14 12:30:14 +0100 |
commit | 716fbe3a48ce6fe951b8fbe503c2a733fb5a6d5f (patch) | |
tree | e8e4975cad6157555988b729b8d91f5084b70946 /src/rtos/rtkernel.c | |
parent | 41a225460c3b9a6c1f61a0777f101ff009f56007 (diff) | |
download | riscv-openocd-716fbe3a48ce6fe951b8fbe503c2a733fb5a6d5f.zip riscv-openocd-716fbe3a48ce6fe951b8fbe503c2a733fb5a6d5f.tar.gz riscv-openocd-716fbe3a48ce6fe951b8fbe503c2a733fb5a6d5f.tar.bz2 |
target/riscv: only restore mstatus.*ie bits in riscv_interrupts_restore
When value of mstatus CSR changes while stepping with
"set_maskisr steponly", OpenOCD should not write back
the old value to mstatus when reenabling interrupts.
Signed-off-by: Samuel Obuch <samuel.obuch@espressif.com>
Diffstat (limited to 'src/rtos/rtkernel.c')
0 files changed, 0 insertions, 0 deletions