diff options
author | Bin Meng | 2019-08-08 04:49:30 +0200 |
---|---|---|
committer | Palmer Dabbelt | 2019-09-17 17:42:43 +0200 |
commit | ddf781322820b6ea174fbe43ddc6a95e8cac8051 (patch) | |
tree | 6126c8f36a9e33b15072018147604f0dbffdf926 /qemu-io.c | |
parent | target/riscv: Update the Hypervisor CSRs to v0.4 (diff) | |
download | qemu-ddf781322820b6ea174fbe43ddc6a95e8cac8051.tar.gz qemu-ddf781322820b6ea174fbe43ddc6a95e8cac8051.tar.xz qemu-ddf781322820b6ea174fbe43ddc6a95e8cac8051.zip |
riscv: rv32: Root page table address can be larger than 32-bit
For RV32, the root page table's PPN has 22 bits hence its address
bits could be larger than the maximum bits that target_ulong is
able to represent. Use hwaddr instead.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions