diff options
| author | LIU Zhiwei <zhiwei_liu@c-sky.com> | 2022-01-20 20:20:34 +0800 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2022-01-21 15:52:57 +1000 |
| commit | bf9e776ec19a7e93dc520824c23cf8754fe274fd (patch) | |
| tree | 1c639862253790e5f415c2c294fb0023a1b8091c /scripts/qapi/expr.py | |
| parent | 8c796f1a15d0fca41c4f3e985bfbd33a5afb9ddc (diff) | |
| download | focaccia-qemu-bf9e776ec19a7e93dc520824c23cf8754fe274fd.tar.gz focaccia-qemu-bf9e776ec19a7e93dc520824c23cf8754fe274fd.zip | |
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 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions