Home | History | Annotate | Download | only in SignedCapsulePkg
      1 ## @file

      2 # This package provides EDKII capsule related support.

      3 #

      4 # Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>

      5 # This program and the accompanying materials are licensed and made available under

      6 # the terms and conditions of the BSD License that accompanies this distribution.

      7 # The full text of the license may be found at

      8 # http://opensource.org/licenses/bsd-license.php.

      9 #

     10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

     11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

     12 #

     13 ##

     14 
     15 
     16 [Defines]
     17   DEC_SPECIFICATION              = 0x00010005
     18   PACKAGE_NAME                   = SignedCapsulePkg
     19   PACKAGE_GUID                   = 75AA5D82-7BC4-44A9-82FB-0820EBC79BED
     20   PACKAGE_VERSION                = 0.1
     21 
     22 [Includes]
     23   Include
     24 
     25 [LibraryClasses]
     26   ## @libraryclass  Provides services for EDKII system FMP capsule.

     27   #

     28   EdkiiSystemCapsuleLib|Include/Library/EdkiiSystemCapsuleLib.h
     29 
     30   ## @libraryclass  Provides services to parse the INI configuration file.

     31   #

     32   IniParsingLib|Include/Library/IniParsingLib.h
     33 
     34   ## @libraryclass  Provides services to access flash device.

     35   #

     36   PlatformFlashAccessLib|Include/Library/PlatformFlashAccessLib.h
     37 
     38 [Guids]
     39   gEfiSignedCapsulePkgTokenSpaceGuid      = { 0xe1eb612f, 0x1c6c, 0x485d, { 0x9d, 0x6, 0x65, 0x8, 0x44, 0x88, 0x15, 0x69 }}
     40 
     41   ## Include/Guid/EdkiiSystemFmpCapsule.h

     42   gEdkiiSystemFirmwareImageDescriptorFileGuid = {0x90b2b846, 0xca6d, 0x4d6e, {0xa8, 0xd3, 0xc1, 0x40, 0xa8, 0xe1, 0x10, 0xac}}
     43   gEdkiiSystemFmpCapsuleConfigFileGuid        = {0x812136d3, 0x4d3a, 0x433a, {0x94, 0x18, 0x29, 0xbb, 0x9b, 0xf7, 0x8f, 0x6e}}
     44   gEdkiiSystemFmpCapsuleDriverFvFileGuid      = {0xce57b167, 0xb0e4, 0x41e8, {0xa8, 0x97, 0x5f, 0x4f, 0xeb, 0x78, 0x1d, 0x40}}
     45 
     46 [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
     47   ## This is the GUID of the FFS which contains the Rsa2048Sha256TestPublicKeyFile as a RAW section.

     48   # @Prompt GUID of the FFS which contains the Rsa2048Sha256TestPublicKeyFile.

     49   gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiRsa2048Sha256TestPublicKeyFileGuid|{0x04, 0xe1, 0xfe, 0xc4, 0x57, 0x66, 0x36, 0x49, 0xa6, 0x11, 0x13, 0x8d, 0xbc, 0x2a, 0x76, 0xad}|VOID*|0xA0010001
     50 
     51   ## This is the GUID of the FFS which contains the Pkcs7TestPublicKeyFile as a RAW section.

     52   # @Prompt GUID of the FFS which contains the Pkcs7TestPublicKeyFile.

     53   gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiPkcs7TestPublicKeyFileGuid|{0xba, 0xf5, 0x93, 0xf0, 0x37, 0x6f, 0x16, 0x48, 0x9e, 0x52, 0x91, 0xbe, 0xa0, 0xf7, 0xe0, 0xb8}|VOID*|0xA0010002
     54 
     55 [PcdsDynamicEx]
     56   ## This dynamic PCD holds the EDKII system firmware image descriptor.

     57   #  This information can be used for version check in EDKII system FMP capsule.

     58   #  Only if the new EdkiiSystemFrimwareImageDescriptor.Version is not less than

     59   #  the current PcdEdkiiSystemFirmwareImageDescriptor.LowestSupportedVersion,

     60   #  the EDKII system FmpCapsule will be processed.

     61   #  The data structure of this PCD is EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR,

     62   #  SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h.

     63   #  It must be in [PcdsDynamicEx], because the EDKII system firmware update module may

     64   #  consume the PCD produced in current system firmware.

     65   # @Prompt EDKII system firmware image descriptor.

     66   gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x00000037
     67 
     68   ## This dynamic PCD hold the GUID of a firmware FFS which includes EDKII

     69   #  system firmware image.

     70   #  An EDKII system firmware udpate module need consume this PCD to extract

     71   #  the EDKII system firmware from the capsule image.

     72   #  It must be in [PcdsDynamicEx], because the EDKII system firmware update module may

     73   #  consume the PCD produced in current system firmware image.

     74   # @Prompt EDKII system firmware image FFS GUID.

     75   gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0x0}|VOID*|0x00001010
     76 
     77