summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-02-18 20:51:08 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-02-24 09:18:44 +0100
commite0692789058ee2c0099f88852503c16dbb0bae4e (patch)
tree658f86f2d32057f29524f8058323ee69b8540061 /ArmVirtPkg
parentf9bbb8d9c3f065faba9f266cf4e731fe2ca70c4d (diff)
downloadedk2-e0692789058ee2c0099f88852503c16dbb0bae4e.tar.gz
edk2-e0692789058ee2c0099f88852503c16dbb0bae4e.tar.bz2
edk2-e0692789058ee2c0099f88852503c16dbb0bae4e.zip
ArmVirtPkg/ArmVirtQemu: limit ACPI support to v5.0 and higher
The ACPI spec predates the AARCH64 architecture by 5 versions, so there is no point in supporting anything below v5.0. So set the PCD that controls the ACPI table generation to the appropriate value. Note that the current consumers of this PCD only check whether bit 1 is set or not (i.e., ACPI v1.0b), but this may change in the future, so let's choose a meaningful value right away. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'ArmVirtPkg')
-rw-r--r--ArmVirtPkg/ArmVirtQemu.dsc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index 113ac3d880..f873883c4a 100644
--- a/ArmVirtPkg/ArmVirtQemu.dsc
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
@@ -177,6 +177,10 @@
# point only, for entry point versions >= 3.0.
gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
+ # ACPI predates the AARCH64 architecture by 5 versions, so
+ # we only target OSes that support ACPI v5.0 or later
+ gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20
+
[PcdsDynamicDefault.common]
## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI
# enumeration to complete before installing ACPI tables.