aboutsummaryrefslogtreecommitdiff
path: root/hw/hyperv/hyperv_testdev.c
diff options
context:
space:
mode:
authorLIU Zhiwei <zhiwei_liu@linux.alibaba.com>2022-10-13 14:29:45 +0800
committerAlistair Francis <alistair.francis@wdc.com>2023-01-06 10:42:55 +1000
commit91809598a055413d87c10799479086d487558b4e (patch)
tree14949985df5aebfd6a7b87f5fc2c878782c49add /hw/hyperv/hyperv_testdev.c
parent5a4ae64cac49564354cd6f17598840e4af70e4f5 (diff)
downloadqemu-91809598a055413d87c10799479086d487558b4e.zip
qemu-91809598a055413d87c10799479086d487558b4e.tar.gz
qemu-91809598a055413d87c10799479086d487558b4e.tar.bz2
target/riscv: Enable native debug itrigger
When QEMU is not in icount mode, execute instruction one by one. The tdata1 can be read directly. When QEMU is in icount mode, use a timer to simulate the itrigger. The tdata1 may be not right because of lazy update of count in tdata1. Thus, We should pack the adjusted count into tdata1 before read it back. Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20221013062946.7530-4-zhiwei_liu@linux.alibaba.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/hyperv/hyperv_testdev.c')
0 files changed, 0 insertions, 0 deletions