mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 03:45:24 +00:00
run: Use -m 512 for hw_x86_64 on qemu
The base-hw kernel on x86_64 currently assumes 254 MiB of RAM. The RAM region is subtracted from the I/O mem allocator and therefore this range is not available for device I/O. If qemu is started with -m 128, the region for (emulated) PCI config space access lies within this region and I/O mem allocation in the pci_drv will fail. Giving qemu more RAM moves the PCI config space out of the 254 MiB region, making the run/libc_ffat scenario with acpi work.
This commit is contained in:
parent
58178949ef
commit
f02c92598b
@ -51,6 +51,10 @@ proc run_power_on { } {
|
||||
}
|
||||
if {[have_spec platform_vpb926]} { append qemu_args " -M versatilepb -m 128 " }
|
||||
if {[have_spec platform_vea9x4]} { append qemu_args " -M vexpress-a9 -cpu cortex-a9 -m 256 " }
|
||||
if {[have_spec hw_x86_64]} {
|
||||
regsub -all {\-m ([0-9])+} $qemu_args "" qemu_args
|
||||
append qemu_args " -m 512 "
|
||||
}
|
||||
|
||||
# on x86, we support booting via pxe or iso/disk image
|
||||
if {[have_spec x86]} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user