SignedCapsulePkg.dec 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ## @file
  2. # This package provides EDKII capsule related support.
  3. #
  4. # Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ##
  8. [Defines]
  9. DEC_SPECIFICATION = 0x00010005
  10. PACKAGE_NAME = SignedCapsulePkg
  11. PACKAGE_GUID = 75AA5D82-7BC4-44A9-82FB-0820EBC79BED
  12. PACKAGE_VERSION = 0.1
  13. [Includes]
  14. Include
  15. [LibraryClasses]
  16. ## @libraryclass Provides services for EDKII system FMP capsule.
  17. #
  18. EdkiiSystemCapsuleLib|Include/Library/EdkiiSystemCapsuleLib.h
  19. ## @libraryclass Provides services to parse the INI configuration file.
  20. #
  21. IniParsingLib|Include/Library/IniParsingLib.h
  22. ## @libraryclass Provides services to access flash device.
  23. #
  24. PlatformFlashAccessLib|Include/Library/PlatformFlashAccessLib.h
  25. [Guids]
  26. gEfiSignedCapsulePkgTokenSpaceGuid = { 0xe1eb612f, 0x1c6c, 0x485d, { 0x9d, 0x6, 0x65, 0x8, 0x44, 0x88, 0x15, 0x69 }}
  27. ## Include/Guid/EdkiiSystemFmpCapsule.h
  28. gEdkiiSystemFirmwareImageDescriptorFileGuid = {0x90b2b846, 0xca6d, 0x4d6e, {0xa8, 0xd3, 0xc1, 0x40, 0xa8, 0xe1, 0x10, 0xac}}
  29. gEdkiiSystemFmpCapsuleConfigFileGuid = {0x812136d3, 0x4d3a, 0x433a, {0x94, 0x18, 0x29, 0xbb, 0x9b, 0xf7, 0x8f, 0x6e}}
  30. gEdkiiSystemFmpCapsuleDriverFvFileGuid = {0xce57b167, 0xb0e4, 0x41e8, {0xa8, 0x97, 0x5f, 0x4f, 0xeb, 0x78, 0x1d, 0x40}}
  31. [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
  32. ## This is the GUID of the FFS which contains the Rsa2048Sha256TestPublicKeyFile as a RAW section.
  33. # @Prompt GUID of the FFS which contains the Rsa2048Sha256TestPublicKeyFile.
  34. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiRsa2048Sha256TestPublicKeyFileGuid|{0x04, 0xe1, 0xfe, 0xc4, 0x57, 0x66, 0x36, 0x49, 0xa6, 0x11, 0x13, 0x8d, 0xbc, 0x2a, 0x76, 0xad}|VOID*|0xA0010001
  35. ## This is the GUID of the FFS which contains the Pkcs7TestPublicKeyFile as a RAW section.
  36. # @Prompt GUID of the FFS which contains the Pkcs7TestPublicKeyFile.
  37. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiPkcs7TestPublicKeyFileGuid|{0xba, 0xf5, 0x93, 0xf0, 0x37, 0x6f, 0x16, 0x48, 0x9e, 0x52, 0x91, 0xbe, 0xa0, 0xf7, 0xe0, 0xb8}|VOID*|0xA0010002
  38. ## This is the lowest supported version number that can be upgraded to, as exposed via the System Firmware descriptor.
  39. # @Prompt Lowest support version number that can be upgraded to via capsule update
  40. gEfiSignedCapsulePkgTokenSpaceGuid.PcdLowestSupportedFirmwareVersion|0x1|UINT32|0xA0010003
  41. [PcdsDynamicEx]
  42. ## This dynamic PCD holds the EDKII system firmware image descriptor.
  43. # This information can be used for version check in EDKII system FMP capsule.
  44. # Only if the new EdkiiSystemFirmwareImageDescriptor.Version is not less than
  45. # the current PcdEdkiiSystemFirmwareImageDescriptor.LowestSupportedVersion,
  46. # the EDKII system FmpCapsule will be processed.
  47. # The data structure of this PCD is EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR,
  48. # SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h.
  49. # It must be in [PcdsDynamicEx], because the EDKII system firmware update module may
  50. # consume the PCD produced in current system firmware.
  51. # @Prompt EDKII system firmware image descriptor.
  52. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x00000037
  53. ## This dynamic PCD hold the GUID of a firmware FFS which includes EDKII
  54. # system firmware image.
  55. # An EDKII system firmware update module need consume this PCD to extract
  56. # the EDKII system firmware from the capsule image.
  57. # It must be in [PcdsDynamicEx], because the EDKII system firmware update module may
  58. # consume the PCD produced in current system firmware image.
  59. # @Prompt EDKII system firmware image FFS GUID.
  60. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0x0}|VOID*|0x00001010