summaryrefslogtreecommitdiff
path: root/MdeModulePkg/MdeModulePkg.dec
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-03-02 16:53:50 +0800
committerFeng Tian <feng.tian@intel.com>2016-03-04 14:04:43 +0800
commit8a45f80edad4e2e1e23118833f92df4320b123ab (patch)
treec23313249c4b14e036bf5950e6cfaa02da966135 /MdeModulePkg/MdeModulePkg.dec
parent89a77e4051f23675ebc1638ad47c91f5c85312d2 (diff)
downloadedk2-platforms-8a45f80edad4e2e1e23118833f92df4320b123ab.tar.xz
MdeModulePkg: Make HII configuration settings available to OS runtime
This feature is aimed to allow OS make use of the HII database during runtime. In this case, the contents of the HII Database is exported to a buffer. The pointer to the buffer is placed in the EFI System Configuration Table, where it can be retrieved by an OS application. Cc: Liming Gao <liming.gao@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Brian J. Johnson <bjohnson@sgi.com> Cc: Andrew Fish <afish@apple.com> Cc: El-Haj-Mahmoud Samer <samer.el-haj-mahmoud@hpe.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.dec')
-rw-r--r--MdeModulePkg/MdeModulePkg.dec8
1 files changed, 8 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index b685132e5d..efd870b618 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -711,6 +711,14 @@
# @Prompt Enable Serial device Half Hand Shake
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHalfHandshake|FALSE|BOOLEAN|0x00010073
+ ## Indicates if HII data and configuration has been exported.<BR><BR>
+ # Add this PCD mainly consider the use case of simulator. This PCD maybe set to FALSE for
+ # simulator platform because the performance cost for this feature.
+ # TRUE - Export HII data and configuration data.<BR>
+ # FALSE - Does not export HII data and configuration.<BR>
+ # @Prompt Enable export HII data and configuration to be used in OS runtime.
+ gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|TRUE|BOOLEAN|0x00010074
+
[PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]
## Indicates if DxeIpl should switch to long mode to enter DXE phase.
# It is assumed that 64-bit DxeCore is built in firmware if it is true; otherwise 32-bit DxeCore