]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/S3SmmInitDone.h: Fix copyright coding style error.
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index 20a07be96e5a983e10120d6099211a79f0e1bbca..6a6d9660edc2c80e382522e9d0a5879b8837e7df 100644 (file)
@@ -3,11 +3,11 @@
 # 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 - 2017, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2018, 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
 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
-#\r
+# Copyright (c) 2016, Microsoft Corporation<BR>\r
 # This program and the accompanying materials are licensed and made available under\r
 # the terms and conditions of the BSD License that accompanies this distribution.\r
 # The full text of the license may be found at\r
@@ -24,7 +24,7 @@
   PACKAGE_NAME                   = MdeModulePkg\r
   PACKAGE_UNI_FILE               = MdeModulePkg.uni\r
   PACKAGE_GUID                   = BA0D78D6-2CAF-414b-BD4D-B6762A894288\r
-  PACKAGE_VERSION                = 0.97\r
+  PACKAGE_VERSION                = 0.98\r
 \r
 [Includes]\r
   Include\r
@@ -54,6 +54,9 @@
   ##  @libraryclass  Defines a set of methods to reset whole system.\r
   ResetSystemLib|Include/Library/ResetSystemLib.h\r
 \r
+  ##  @libraryclass  Defines a set of helper functions for resetting the system.\r
+  ResetUtilityLib|Include/Library/ResetUtilityLib.h\r
+\r
   ##  @libraryclass  Defines a set of methods related do S3 mode.\r
   #   This library class is no longer used and modules using this library should\r
   #   directly locate EFI_PEI_S3_RESUME_PPI defined in PI 1.2 specification.\r
   ##\r
   NonDiscoverableDeviceRegistrationLib|Include/Library/NonDiscoverableDeviceRegistrationLib.h\r
 \r
+  ## @libraryclass  Provides services to convert a BMP graphics image to a GOP BLT buffer\r
+  #  and to convert a GOP BLT buffer to a BMP graphics image.\r
+  #\r
+  BmpSupportLib|Include/Library/BmpSupportLib.h\r
+\r
+  ## @libraryclass  Provides services to display completion progress when\r
+  #  processing a firmware update that updates the firmware image in a firmware\r
+  #  device.  A platform may provide its own instance of this library class to\r
+  #  customize how a user is informed of completion progress.\r
+  #\r
+  DisplayUpdateProgressLib|Include/Library/DisplayUpdateProgressLib.h\r
+\r
 [Guids]\r
   ## MdeModule package token space guid\r
   # Include/Guid/MdeModulePkgTokenSpace.h\r
   gSmmPerformanceProtocolGuid    = { 0xf866226a, 0xeaa5, 0x4f5a, { 0xa9, 0xa,  0x6c, 0xfb, 0xa5, 0x7c, 0x58, 0x8e } }\r
   gPerformanceExProtocolGuid     = { 0x1ea81bec, 0xf01a, 0x4d98, { 0xa2, 0x1,  0x4a, 0x61, 0xce, 0x2f, 0xc0, 0x22 } }\r
   gSmmPerformanceExProtocolGuid  = { 0x931fc048, 0xc71d, 0x4455, { 0x89, 0x30, 0x47, 0x6,  0x30, 0xe3, 0xe,  0xe5 } }\r
+  #  Include/Guid/PerformanceMeasurement.h\r
+  gEdkiiPerformanceMeasurementProtocolGuid      = { 0xc85d06be, 0x5f75, 0x48ce, { 0xa8, 0x0f, 0x12, 0x36, 0xba, 0x3b, 0x87, 0xb1 } }\r
+  gEdkiiSmmPerformanceMeasurementProtocolGuid   = { 0xd56b6d73, 0x1a7b, 0x4015, { 0x9b, 0xb4, 0x7b, 0x07, 0x17, 0x29, 0xed, 0x24 } }\r
 \r
   ## Guid is defined for CRC32 encapsulation scheme.\r
   #  Include/Guid/Crc32GuidedSectionExtraction.h\r
   ## Include/Guid/RecoveryDevice.h\r
   gRecoveryOnDataCdGuid              = { 0x5CAC0099, 0x0DC9, 0x48E5, { 0x80, 0x68, 0xBB, 0x95, 0xF5, 0x40, 0x0A, 0x9F }}\r
 \r
+  ## Include/Guid/RecoveryDevice.h\r
+  gRecoveryOnFatNvmeDiskGuid         = { 0xC770A27F, 0x956A, 0x497A, { 0x85, 0x48, 0xE0, 0x61, 0x97, 0x58, 0x8B, 0xF6 }}\r
+\r
   ## Include/Guid/SmmLockBox.h\r
   gEfiSmmLockBoxCommunicationGuid    = { 0x2a3cfebd, 0x27e8, 0x4d0a, { 0x8b, 0x79, 0xd6, 0x88, 0xc2, 0xa3, 0xe1, 0xc0 }}\r
 \r
   ## Include/Guid/PlatformHasAcpi.h\r
   gEdkiiPlatformHasAcpiGuid = { 0xf0966b41, 0xc23f, 0x41b9, { 0x96, 0x04, 0x0f, 0xf7, 0xe1, 0x11, 0x96, 0x5a } }\r
 \r
+  ## Include/Guid/ExtendedFirmwarePerformance.h\r
+  gEdkiiFpdtExtendedFirmwarePerformanceGuid = { 0x3b387bfd, 0x7abc, 0x4cf2, { 0xa0, 0xca, 0xb6, 0xa1, 0x6c, 0x1b, 0x1b, 0x25 } }\r
+\r
+  ## Include/Guid/EndofS3Resume.h\r
+  gEdkiiEndOfS3ResumeGuid = { 0x96f5296d, 0x05f7, 0x4f3c, {0x84, 0x67, 0xe4, 0x56, 0x89, 0x0e, 0x0c, 0xb5 } }\r
+\r
+  ## Include/Guid/S3SmmInitDone.h\r
+  gEdkiiS3SmmInitDoneGuid = { 0x8f9d4825, 0x797d, 0x48fc, { 0x84, 0x71, 0x84, 0x50, 0x25, 0x79, 0x2e, 0xf6 } }\r
+\r
 [Ppis]\r
   ## Include/Ppi/AtaController.h\r
   gPeiAtaControllerPpiGuid       = { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0, 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }}\r
   ## Include/Ppi/IoMmu.h\r
   gEdkiiIoMmuPpiGuid = { 0x70b0af26, 0xf847, 0x4bb6, { 0xaa, 0xb9, 0xcd, 0xe8, 0x4f, 0xc6, 0x14, 0x31 } }\r
 \r
+  ## Include/Ppi/PlatformSpecificResetFilter.h\r
+  gEdkiiPlatformSpecificResetFilterPpiGuid = { 0x8c9f4de3, 0x7b90, 0x47ef, { 0x93, 0x8, 0x28, 0x7c, 0xec, 0xd6, 0x6d, 0xe8 } }\r
+\r
+  ## Include/Ppi/PlatformSpecificResetNotification.h\r
+  gEdkiiPlatformSpecificResetNotificationPpiGuid = { 0xe09f355d, 0xdae8, 0x4910, { 0xb1, 0x4a, 0x92, 0x78, 0xf, 0xdc, 0xf7, 0xcb } }\r
+\r
+  ## Include/Ppi/PlatformSpecificResetHandler.h\r
+  gEdkiiPlatformSpecificResetHandlerPpiGuid = { 0x75cf14ae, 0x3441, 0x49dc, { 0xaa, 0x10, 0xbb, 0x35, 0xa7, 0xba, 0x8b, 0xab } }\r
+\r
+  ## Include/Ppi/NvmExpressHostController.h\r
+  gEdkiiPeiNvmExpressHostControllerPpiGuid  = { 0xcae3aa63, 0x676f, 0x4da3, { 0xbd, 0x50, 0x6c, 0xc5, 0xed, 0xde, 0x9a, 0xad } }\r
+\r
 [Protocols]\r
   ## Load File protocol provides capability to load and unload EFI image into memory and execute it.\r
   #  Include/Protocol/LoadPe32Image.h\r
   ## Include/Protocol/BootLogo.h\r
   gEfiBootLogoProtocolGuid = { 0xcdea2bd3, 0xfc25, 0x4c1c, { 0xb9, 0x7c, 0xb3, 0x11, 0x86, 0x6, 0x49, 0x90 } }\r
 \r
+  # Include/Protocol/BootLogo2.h\r
+  gEdkiiBootLogo2ProtocolGuid = { 0x4b5dc1df, 0x1eaa, 0x48b2, { 0xa7, 0xe9, 0xea, 0xc4, 0x89, 0xa0, 0xb, 0x5c } }\r
+\r
   ## Include/Protocol/DisplayProtocol.h\r
   gEdkiiFormDisplayEngineProtocolGuid = { 0x9bbe29e9, 0xfda1, 0x41ec, { 0xad, 0x52, 0x45, 0x22, 0x13, 0x74, 0x2d, 0x2e } }\r
 \r
   ## Include/Protocol/IoMmu.h\r
   gEdkiiIoMmuProtocolGuid = { 0x4e939de9, 0xd948, 0x4b0f, { 0x88, 0xed, 0xe6, 0xe1, 0xce, 0x51, 0x7c, 0x1e } }\r
 \r
-  ## Include/Protocol/SmmEndofS3Resume.h\r
-  gEdkiiSmmEndOfS3ResumeProtocolGuid = { 0x96f5296d, 0x05f7, 0x4f3c, {0x84, 0x67, 0xe4, 0x56, 0x89, 0x0e, 0x0c, 0xb5 } }\r
+  ## Include/Protocol/SmmMemoryAttribute.h\r
+  gEdkiiSmmMemoryAttributeProtocolGuid = { 0x69b792ea, 0x39ce, 0x402d, { 0xa2, 0xa6, 0xf7, 0x21, 0xde, 0x35, 0x1d, 0xfe } }\r
 \r
+  ## Include/Protocol/SdMmcOverride.h\r
+  gEdkiiSdMmcOverrideProtocolGuid = { 0xeaf9e3c1, 0xc9cd, 0x46db, { 0xa5, 0xe5, 0x5a, 0x12, 0x4c, 0x83, 0x23, 0x23 } }\r
+\r
+  ## Include/Protocol/PlatformSpecificResetFilter.h\r
+  gEdkiiPlatformSpecificResetFilterProtocolGuid  = { 0x695d7835, 0x8d47, 0x4c11, { 0xab, 0x22, 0xfa, 0x8a, 0xcc, 0xe7, 0xae, 0x7a } }\r
+  ## Include/Protocol/PlatformSpecificResetHandler.h\r
+  gEdkiiPlatformSpecificResetHandlerProtocolGuid = { 0x2df6ba0b, 0x7092, 0x440d, { 0xbd, 0x4, 0xfb, 0x9, 0x1e, 0xc3, 0xf3, 0xc1 } }\r
+\r
+  ## Include/Protocol/FirmwareManagementProgress.h\r
+  gEdkiiFirmwareManagementProgressProtocolGuid = { 0x1849bda2, 0x6952, 0x4e86, { 0xa1, 0xdb, 0x55, 0x9a, 0x3c, 0x47, 0x9d, 0xf1 } }\r
+\r
+  ## Include/Protocol/AtaAtapiPolicy.h\r
+  gEdkiiAtaAtapiPolicyProtocolGuid = { 0xe59cd769, 0x5083, 0x4f26,{ 0x90, 0x94, 0x6c, 0x91, 0x9f, 0x91, 0x6c, 0x4e } }\r
 #\r
 # [Error.gEfiMdeModulePkgTokenSpaceGuid]\r
 #   0x80000001 | Invalid value provided.\r
   # @Prompt Enable NULL address detection.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask|0x0|UINT8|0x30001050\r
 \r
+  ## Init Value in Temp Stack to be shared between SEC and PEI_CORE\r
+  # SEC fills the full temp stack with this values. When switch stack, PeiCore can check\r
+  # this value in the temp stack to know how many stack has been used.\r
+  # @Prompt Init Value in Temp Stack\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdInitValueInTempStack|0x5AA55AA5|UINT32|0x30001051\r
+\r
+  ## Indicates which type allocation need guard page.\r
+  #\r
+  # If a bit is set, a head guard page and a tail guard page will be added just\r
+  # before and after corresponding type of pages allocated if there's enough\r
+  # free pages for all of them. The page allocation for the type related to\r
+  # cleared bits keeps the same as ususal.\r
+  #\r
+  # Below is bit mask for this PCD: (Order is same as UEFI spec)<BR>\r
+  #  EfiReservedMemoryType             0x0000000000000001<BR>\r
+  #  EfiLoaderCode                     0x0000000000000002<BR>\r
+  #  EfiLoaderData                     0x0000000000000004<BR>\r
+  #  EfiBootServicesCode               0x0000000000000008<BR>\r
+  #  EfiBootServicesData               0x0000000000000010<BR>\r
+  #  EfiRuntimeServicesCode            0x0000000000000020<BR>\r
+  #  EfiRuntimeServicesData            0x0000000000000040<BR>\r
+  #  EfiConventionalMemory             0x0000000000000080<BR>\r
+  #  EfiUnusableMemory                 0x0000000000000100<BR>\r
+  #  EfiACPIReclaimMemory              0x0000000000000200<BR>\r
+  #  EfiACPIMemoryNVS                  0x0000000000000400<BR>\r
+  #  EfiMemoryMappedIO                 0x0000000000000800<BR>\r
+  #  EfiMemoryMappedIOPortSpace        0x0000000000001000<BR>\r
+  #  EfiPalCode                        0x0000000000002000<BR>\r
+  #  EfiPersistentMemory               0x0000000000004000<BR>\r
+  #  OEM Reserved                      0x4000000000000000<BR>\r
+  #  OS Reserved                       0x8000000000000000<BR>\r
+  # e.g. LoaderCode+LoaderData+BootServicesCode+BootServicesData are needed, 0x1E should be used.<BR>\r
+  # @Prompt The memory type mask for Page Guard.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPageType|0x0|UINT64|0x30001052\r
+\r
+  ## Indicates which type allocation need guard page.\r
+  #\r
+  # If a bit is set, a head guard page and a tail guard page will be added just\r
+  # before and after corresponding type of pages which the allocated pool occupies,\r
+  # if there's enough free memory for all of them. The pool allocation for the\r
+  # type related to cleared bits keeps the same as ususal.\r
+  #\r
+  # Below is bit mask for this PCD: (Order is same as UEFI spec)<BR>\r
+  #  EfiReservedMemoryType             0x0000000000000001<BR>\r
+  #  EfiLoaderCode                     0x0000000000000002<BR>\r
+  #  EfiLoaderData                     0x0000000000000004<BR>\r
+  #  EfiBootServicesCode               0x0000000000000008<BR>\r
+  #  EfiBootServicesData               0x0000000000000010<BR>\r
+  #  EfiRuntimeServicesCode            0x0000000000000020<BR>\r
+  #  EfiRuntimeServicesData            0x0000000000000040<BR>\r
+  #  EfiConventionalMemory             0x0000000000000080<BR>\r
+  #  EfiUnusableMemory                 0x0000000000000100<BR>\r
+  #  EfiACPIReclaimMemory              0x0000000000000200<BR>\r
+  #  EfiACPIMemoryNVS                  0x0000000000000400<BR>\r
+  #  EfiMemoryMappedIO                 0x0000000000000800<BR>\r
+  #  EfiMemoryMappedIOPortSpace        0x0000000000001000<BR>\r
+  #  EfiPalCode                        0x0000000000002000<BR>\r
+  #  EfiPersistentMemory               0x0000000000004000<BR>\r
+  #  OEM Reserved                      0x4000000000000000<BR>\r
+  #  OS Reserved                       0x8000000000000000<BR>\r
+  # e.g. LoaderCode+LoaderData+BootServicesCode+BootServicesData are needed, 0x1E should be used.<BR>\r
+  # @Prompt The memory type mask for Pool Guard.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPoolType|0x0|UINT64|0x30001053\r
+\r
+  ## This mask is to control Heap Guard behavior.\r
+  # Note that due to the limit of pool memory implementation and the alignment\r
+  # requirement of UEFI spec, BIT7 is a try-best setting which cannot guarantee\r
+  # that the returned pool is exactly adjacent to head guard page or tail guard\r
+  # page.\r
+  #   BIT0 - Enable UEFI page guard.<BR>\r
+  #   BIT1 - Enable UEFI pool guard.<BR>\r
+  #   BIT2 - Enable SMM page guard.<BR>\r
+  #   BIT3 - Enable SMM pool guard.<BR>\r
+  #   BIT7 - The direction of Guard Page for Pool Guard.\r
+  #          0 - The returned pool is near the tail guard page.<BR>\r
+  #          1 - The returned pool is near the head guard page.<BR>\r
+  # @Prompt The Heap Guard feature mask\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPropertyMask|0x0|UINT8|0x30001054\r
+\r
+  ## Indicates if UEFI Stack Guard will be enabled.\r
+  #  If enabled, stack overflow in UEFI can be caught, preventing chaotic consequences.<BR><BR>\r
+  #   TRUE  - UEFI Stack Guard will be enabled.<BR>\r
+  #   FALSE - UEFI Stack Guard will be disabled.<BR>\r
+  # @Prompt Enable UEFI Stack Guard.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard|FALSE|BOOLEAN|0x30001055\r
+\r
 [PcdsFixedAtBuild, PcdsPatchableInModule]\r
   ## Dynamic type PCD can be registered callback function for Pcd setting action.\r
   #  PcdMaxPeiPcdCallBackNumberPerPcdEntry indicates the maximum number of callback function\r
   # @Prompt Maximum authenticated variable size.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x00|UINT32|0x30000009\r
 \r
+  ## The maximum size of a single non-authenticated volatile variable.\r
+  # The default value is 0 for compatibility: in that case, the maximum\r
+  # non-authenticated volatile variable size remains specified by\r
+  # PcdMaxVariableSize. Only the MdeModulePkg/Universal/Variable/RuntimeDxe\r
+  # driver supports this PCD.\r
+  # @Prompt Maximum non-authenticated volatile variable size.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x00|UINT32|0x3000000a\r
+\r
   ## The maximum size of single hardware error record variable.<BR><BR>\r
   # In IA32/X64 platforms, this value should be larger than 1KB.<BR>\r
   # In IA64 platforms, this value should be larger than 128KB.<BR>\r
   # @Prompt CapsuleMax value in capsule report variable.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleMax|0xFFFF|UINT16|0x00000107\r
 \r
+  ## Control which FPDT record format will be used to store the performance entry.\r
+  # On TRUE, the string FPDT record will be used to store every performance entry.\r
+  # On FALSE, the different FPDT record will be used to store the different performance entries.\r
+  # @Prompt String FPDT Record Enable Only\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly|FALSE|BOOLEAN|0x00000109\r
+\r
+  ## Indicates the allowable maximum number of Reset Filters, Reset Notifications or Reset Handlers in PEI phase.\r
+  # @Prompt Maximum Number of PEI Reset Filters, Reset Notifications or Reset Handlers.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaximumPeiResetNotifies|0x10|UINT32|0x0000010A\r
+\r
 [PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
   ## This PCD defines the Console output row. The default value is 25 according to UEFI spec.\r
   #  This PCD could be set to 0 then console output would be at max column and max row.\r
   ## This PCD specifies the additional pad size in FPDT Basic Boot Performance Table for\r
   #  the extension FPDT boot records received after ReadyToBoot and before ExitBootService.\r
   # @Prompt Pad size for extension FPDT boot records.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize|0x0|UINT32|0x0001005F\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize|0x20000|UINT32|0x0001005F\r
 \r
   ## Indicates if ConIn device are connected on demand.<BR><BR>\r
   #   TRUE  - ConIn device are not connected during BDS and ReadKeyStroke/ReadKeyStrokeEx produced\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|TRUE|BOOLEAN|0x01100000\r
 \r
   ## Specify memory size for boot script executor stack usage in S3 phase.\r
-  #  The default size 32K. When changing the value make sure the memory size is large enough \r
+  #  The default size 32K. When changing the value make sure the memory size is large enough\r
   #  to meet boot script executor requirement in the S3 phase.\r
   # @Prompt Reserved S3 Boot Script Stack ACPI Memory Size\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptStackSize|0x8000|UINT32|0x02000000\r
   # @Prompt If there is any test key used by the platform.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE|BOOLEAN|0x00030003\r
 \r
+[PcdsDynamicEx]\r
+  ## This dynamic PCD enables the default variable setting.\r
+  #  Its value is the default store ID value. The default value is zero as Standard default.\r
+  #  When its value is set in PEI, it will trig the default setting to be applied as the default EFI variable.\r
+  # @Prompt NV Storage DefaultId\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSetNvStoreDefaultId|0x0|UINT16|0x00030004\r
+\r
+  ## This dynamic PCD holds the DynamicHii PCD value. Its value is the auto generated.\r
+  # @Prompt NV Storage Default Value Buffer\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdNvStoreDefaultValueBuffer|{0x0}|VOID*|0x00030005\r
+\r
 [UserExtensions.TianoCore."ExtraFiles"]\r
   MdeModulePkgExtra.uni\r