]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg/ArmVirtQemu: limit the (I)PA space to 40 bits
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 24 Nov 2015 07:44:28 +0000 (07:44 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Tue, 24 Nov 2015 07:44:28 +0000 (07:44 +0000)
KVM uses a fixed size of 40 bits for its intermediate physical address
space, so there is no need to support anything beyond that even if the
host hardware does.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Wei Huang <wei@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18928 6f19259b-4bc3-4df7-8a09-765794883524

ArmVirtPkg/ArmVirtQemu.dsc

index 995be89ef4cd3b4a5b598fc2f8ba2e296c411fc2..3e4dd229edb04e369f888bd4d3bd68fb1a467be3 100644 (file)
 [PcdsFixedAtBuild.AARCH64]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE\r
 \r
+  # KVM limits it IPA space to 40 bits (1 TB), so there is no need to\r
+  # support anything bigger, even if the host hardware does\r
+  gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|40\r
+\r
 [PcdsDynamicDefault.common]\r
   ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI\r
   #  enumeration to complete before installing ACPI tables.\r