aboutsummaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorLIU Zhiwei <zhiwei_liu@c-sky.com>2022-01-20 20:20:34 +0800
committerAlistair Francis <alistair.francis@wdc.com>2022-01-21 15:52:57 +1000
commitbf9e776ec19a7e93dc520824c23cf8754fe274fd (patch)
tree1c639862253790e5f415c2c294fb0023a1b8091c /job.c
parent8c796f1a15d0fca41c4f3e985bfbd33a5afb9ddc (diff)
downloadqemu-bf9e776ec19a7e93dc520824c23cf8754fe274fd.zip
qemu-bf9e776ec19a7e93dc520824c23cf8754fe274fd.tar.gz
qemu-bf9e776ec19a7e93dc520824c23cf8754fe274fd.tar.bz2
target/riscv: Extend pc for runtime pc write
In some cases, we must restore the guest PC to the address of the start of the TB, such as when the instruction counter hits zero. So extend pc register according to current xlen for these cases. Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20220120122050.41546-8-zhiwei_liu@c-sky.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'job.c')
0 files changed, 0 insertions, 0 deletions