PlatformVariableInitPei.inf 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. ## @file
  2. # Platform variable initialization PEIM.
  3. #
  4. # This PEIM determines whether to load variable defaults. Ordinarily, the
  5. # decision is based on the boot mode, but an OEM hook is provided to override
  6. # that. The appropriate HOBs and PCDs are created to signal DXE code to update
  7. # the variable default values.
  8. #
  9. # @copyright
  10. # Copyright 2012 - 2021 Intel Corporation. <BR>
  11. #
  12. # SPDX-License-Identifier: BSD-2-Clause-Patent
  13. ##
  14. [Defines]
  15. INF_VERSION = 0x00010005
  16. BASE_NAME = PlatformVariableInitPei
  17. FILE_GUID = B88303F6-2E0E-41cc-8510-F5892BF1D9D9
  18. MODULE_TYPE = PEIM
  19. ENTRY_POINT = PlatformVariableInitPeiEntry
  20. [Sources]
  21. PlatformVariableInitPei.c
  22. [Packages]
  23. MdePkg/MdePkg.dec
  24. MdeModulePkg/MdeModulePkg.dec
  25. SecurityPkg/SecurityPkg.dec
  26. WhitleySiliconPkg/WhitleySiliconPkg.dec
  27. WhitleySiliconPkg/SiliconPkg.dec
  28. WhitleyOpenBoardPkg/PlatformPkg.dec
  29. [LibraryClasses]
  30. PeiServicesLib
  31. PeimEntryPoint
  32. DebugLib
  33. HobLib
  34. IoLib
  35. PciLib
  36. PcdLib
  37. MultiPlatSupportLib
  38. PlatformVariableHookLib
  39. PlatformSetupVariableSyncLib
  40. [Pcd]
  41. gPlatformTokenSpaceGuid.PcdSetupVariableGuid ## CONSUMES
  42. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNvStoreDefaultId ## PRODUCES
  43. [Guids]
  44. gPlatformVariableHobGuid ## PRODUCES ## HOB
  45. [Ppis]
  46. gPlatformVariableInitPpiGuid ## PRODUCES
  47. gEfiPeiReadOnlyVariable2PpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
  48. gUpdateBootModePpiGuid ## CONSUMES
  49. [Depex]
  50. TRUE