]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/dec: add PcdImageProtectionPolicy.
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index abd5da5daa0cab936180e0bd44d087f11163858f..9b7fb6356dd4029cfe62bb92b1026e8e3ccd82b0 100644 (file)
@@ -3,7 +3,7 @@
 # It also provides the definitions(including PPIs/PROTOCOLs/GUIDs and library classes)\r
 # and libraries instances, which are used for those modules.\r
 #\r
-# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
 # This program and the accompanying materials are licensed and made available under\r
   #\r
   FmpAuthenticationLib|Include/Library/FmpAuthenticationLib.h\r
 \r
+  ## @libraryclass   Provides a service to register non-discoverable device\r
+  ##\r
+  NonDiscoverableDeviceRegistrationLib|Include/Library/NonDiscoverableDeviceRegistrationLib.h\r
+\r
 [Guids]\r
   ## MdeModule package token space guid\r
   # Include/Guid/MdeModulePkgTokenSpace.h\r
   #  If developer need implement such functionality, they should use BasePeCoffLib.\r
   gEfiLoadPeImageProtocolGuid    = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }}\r
 \r
-  ## Print protocol defines basic print functions to print the format unicode and ascii string.\r
+  ## Print protocols define basic print functions to print the format unicode and ascii string.\r
   # Include/Protocol/Print2.h\r
   gEfiPrint2ProtocolGuid          = { 0xf05976ef, 0x83f1, 0x4f3d, { 0x86, 0x19, 0xf7, 0x59, 0x5d, 0x41, 0xe5, 0x38 } }\r
+  gEfiPrint2SProtocolGuid         = { 0xcc252d2, 0xc106, 0x4661, { 0xb5, 0xbd, 0x31, 0x47, 0xa4, 0xf8, 0x1f, 0x92 } }\r
 \r
   ## This protocol defines the generic memory test interfaces in Dxe phase.\r
   # Include/Protocol/GenericMemoryTest.h\r
   # @Prompt Memory profile driver path.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileDriverPath|{0x0}|VOID*|0x00001043\r
 \r
+  ## Set image protection policy. The policy is bitwise.\r
+  #  If a bit is set, the image will be protected by DxeCore if it is aligned.\r
+  #   The code section becomes read-only, and the data section becomes non-executable.\r
+  #  If a bit is clear, the image will not be protected.<BR><BR>\r
+  #    BIT0       - Image from unknown device. <BR>\r
+  #    BIT1       - Image from firmware volume.<BR>\r
+  # @Prompt Set image protection policy.\r
+  # @ValidRange 0x80000002 | 0x00000000 - 0x0000001F\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000002|UINT32|0x00001047\r
+\r
   ## PCI Serial Device Info. It is an array of Device, Function, and Power Management\r
   #  information that describes the path that contains zero or more PCI to PCI briges\r
   #  followed by a PCI serial device.  Each array entry is 4-bytes in length.  The\r
 \r
   ## SMBIOS version.\r
   # @Prompt SMBIOS version.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300|UINT16|0x00010055\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0301|UINT16|0x00010055\r
 \r
   ## SMBIOS Docrev field in SMBIOS 3.0 (64-bit) Entry Point Structure.\r
   # @Prompt SMBIOS Docrev field in SMBIOS 3.0 (64-bit) Entry Point Structure.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0|UINT8|0x0001006A\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x1|UINT8|0x0001006A\r
 \r
   ## SMBIOS produce method.\r
   #  BIT0 set indicates 32-bit entry point and table are produced.<BR>\r
   #  The file must be in the root directory.\r
   #  The file name must be the 8.3 format.\r
   #  The PCD data must be in UNICODE format.\r
+  # @Prompt Recover file name in PEI phase\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"FVMAIN.FV"|VOID*|0x30001045\r
 \r
   ## This PCD hold a list GUIDs for the ImageTypeId to indicate the\r