diff options
author | Bin Meng | 2021-02-20 15:48:06 +0100 |
---|---|---|
committer | Alistair Francis | 2021-03-04 15:43:29 +0100 |
commit | cfeb8a17c88f50c2a6dbf1cd4b9a279df5a30ec9 (patch) | |
tree | 6e074843b3e2b53ba9d0bb4ea14e12cc619b066e /ui/gtk.c | |
parent | hw/riscv: virt: Drop the 'link_up' parameter of gpex_pcie_init() (diff) | |
download | qemu-cfeb8a17c88f50c2a6dbf1cd4b9a279df5a30ec9.tar.gz qemu-cfeb8a17c88f50c2a6dbf1cd4b9a279df5a30ec9.tar.xz qemu-cfeb8a17c88f50c2a6dbf1cd4b9a279df5a30ec9.zip |
hw/riscv: virt: Limit RAM size in a 32-bit system
RV32 supports 34-bit physical address hence the maximum RAM size
should be limited. Limit the RAM size to 10 GiB, which leaves
some room for PCIe high mmio space.
For 32-bit host, this is not needed as machine->ram_size cannot
represent a RAM size that big. Use a #if size test to only do
the size limitation for the 64-bit host.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210220144807.819-4-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'ui/gtk.c')
0 files changed, 0 insertions, 0 deletions