summaryrefslogtreecommitdiffstats
path: root/hw/timer/aspeed_timer.c
diff options
context:
space:
mode:
authorLIU Zhiwei2021-09-01 14:45:39 +0200
committerAlistair Francis2021-09-20 23:56:49 +0200
commit15732b8ed290460334ee58dd25939da733f362fd (patch)
tree8c7f1bda016d5d06dbf4b44a071ab93b965928e6 /hw/timer/aspeed_timer.c
parenttarget/riscv: Update the ePMP CSR address (diff)
downloadqemu-15732b8ed290460334ee58dd25939da733f362fd.tar.gz
qemu-15732b8ed290460334ee58dd25939da733f362fd.tar.xz
qemu-15732b8ed290460334ee58dd25939da733f362fd.zip
target/riscv: Fix satp write
These variables should be target_ulong. If truncated to int, the bool conditions they indicate will be wrong. As satp is very important for Linux, this bug almost fails every boot. Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20210901124539.222868-1-zhiwei_liu@c-sky.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/timer/aspeed_timer.c')
0 files changed, 0 insertions, 0 deletions