qemu-e2k/hw/i386
Eduardo Habkost 4c8a949b24 acpi: Fix PCI hole handling on build_srat()
The original SeaBIOS code used the RamSize variable, that was used by
SeaBIOS for the size of RAM below 4GB, not for all RAM. When copied to
QEMU, the code was changed to use the full RAM size, and this broke the
build_srat() code that handles the PCI hole.

Change build_srat() to use ram_size_below_4g instead of ram_size, to
restore the original behavior from SeaBIOS.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-01-26 13:11:45 +02:00
..
kvm ioapic: QOM'ify ioapic 2013-12-24 18:02:18 +01:00
acpi-build.c acpi: Fix PCI hole handling on build_srat() 2014-01-26 13:11:45 +02:00
acpi-build.h
acpi-defs.h
acpi-dsdt-cpu-hotplug.dsl pc: ACPI: unify source of CPU hotplug IO base/len 2014-01-26 13:11:44 +02:00
acpi-dsdt-dbug.dsl
acpi-dsdt-hpet.dsl
acpi-dsdt-isa.dsl ACPI: Fix AppleSMC _STA size 2014-01-26 13:06:48 +02:00
acpi-dsdt-pci-crs.dsl pc: Q35 DSDT: exclude CPU hotplug IO range from PCI bus resources 2014-01-26 13:11:44 +02:00
acpi-dsdt.dsl pc: ACPI: unify source of CPU hotplug IO base/len 2014-01-26 13:11:44 +02:00
acpi-dsdt.hex.generated pc: ACPI: update acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated 2014-01-26 13:11:44 +02:00
bios-linker-loader.c
bios-linker-loader.h
kvmvapic.c QOM CPUState refactorings / X86CPU 2014-01-10 11:04:31 -08:00
Makefile.objs pc: ACPI: unify source of CPU hotplug IO base/len 2014-01-26 13:11:44 +02:00
multiboot.c
multiboot.h
pc_piix.c usb: add support for microsoft os descriptors 2014-01-16 12:59:59 +01:00
pc_q35.c
pc_sysfw.c
pc.c pc: Save size of RAM below 4GB 2014-01-26 13:11:45 +02:00
q35-acpi-dsdt.dsl pc: ACPI: unify source of CPU hotplug IO base/len 2014-01-26 13:11:44 +02:00
q35-acpi-dsdt.hex.generated pc: ACPI: update acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated 2014-01-26 13:11:44 +02:00
smbios.c
ssdt-misc.dsl
ssdt-misc.hex.generated
ssdt-pcihp.dsl acpi-build: enable hotplug for PCI bridges 2014-01-26 13:11:44 +02:00
ssdt-pcihp.hex.generated pc: ACPI: update acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated 2014-01-26 13:11:44 +02:00
ssdt-proc.dsl
ssdt-proc.hex.generated pc: ACPI: update acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated 2014-01-26 13:11:44 +02:00
xen_domainbuild.c
xen_domainbuild.h
xen_machine_pv.c