diff options
author | Bin Meng <bin.meng@windriver.com> | 2021-02-20 22:48:07 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2021-03-04 09:43:29 -0500 |
commit | 19800265d407f09f333cf80dba3e975eb7bc1872 (patch) | |
tree | 646c933fa11d642cd1ab6af08463982218f04d3b /os-win32.c | |
parent | cfeb8a17c88f50c2a6dbf1cd4b9a279df5a30ec9 (diff) | |
download | qemu-19800265d407f09f333cf80dba3e975eb7bc1872.zip qemu-19800265d407f09f333cf80dba3e975eb7bc1872.tar.gz qemu-19800265d407f09f333cf80dba3e975eb7bc1872.tar.bz2 |
hw/riscv: virt: Map high mmio for PCIe
Some peripherals require 64-bit PCI address, so let's map the high
mmio space for PCIe.
For RV32, the address is hardcoded to below 4 GiB from the highest
accessible physical address. For RV64, the base address depends on
top of RAM and is aligned to its size which is using 16 GiB for now.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210220144807.819-5-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'os-win32.c')
0 files changed, 0 insertions, 0 deletions