]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg: disable PcdHiiOsRuntimeSupport
authorLaszlo Ersek <lersek@redhat.com>
Tue, 29 Mar 2016 17:51:30 +0000 (19:51 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 1 Apr 2016 14:34:00 +0000 (16:34 +0200)
Edk2 commit 8a45f80edad4 ("MdeModulePkg: Make HII configuration settings
available to OS runtime") implements the optional UEFI feature described
in "31.2.11.1 OS Runtime Utilization" in UEFI v2.6.

While this feature might show benefits down the road even in QEMU virtual
machines, at the moment it only presents drawbacks:
- it increases the EfiRuntimeServicesData footprint,
- it triggers HII compatibility problems between edk2 and external drivers
  unconditionally, even if the end-user is not interested in HII and/or in
  configuring said drivers (see
  <https://www.redhat.com/archives/vfio-users/2016-March/msg00153.html>
  and <http://thread.gmane.org/gmane.comp.bios.edk2.devel/9894> for an
  example).

While the feature was being introduced, popular demand for a controlling
Feature PCD rose (see
<http://thread.gmane.org/gmane.comp.bios.edk2.devel/7626>), which is why
we can set it now to FALSE.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmVirtPkg/ArmVirt.dsc.inc

index db31b2dc4cfe5fae473550f9b82fab0873d04f1e..14e15213b3c9d229b4994d524815e338bec0a44b 100644 (file)
 ################################################################################\r
 \r
 [PcdsFeatureFlag.common]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
   gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r
   gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r
   gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r