Fvb.inf 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ## @file
  2. # Firmware Block Services to support emulating non-volatile variables
  3. # by pretending that a memory buffer is storage for the NV variables.
  4. #
  5. # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
  6. #
  7. # SPDX-License-Identifier: BSD-2-Clause-Patent
  8. #
  9. ##
  10. [Defines]
  11. INF_VERSION = 0x00010005
  12. BASE_NAME = EmuVariableFvbRuntimeDxe
  13. FILE_GUID = 22dc2b60-fe40-42ac-b01f-3ab1fad9aad8
  14. MODULE_TYPE = DXE_RUNTIME_DRIVER
  15. VERSION_STRING = 1.0
  16. ENTRY_POINT = FvbInitialize
  17. #
  18. # The following information is for reference only and not required by the build tools.
  19. #
  20. # VALID_ARCHITECTURES = IA32 X64 EBC
  21. #
  22. [Sources]
  23. Fvb.c
  24. Fvb.h
  25. [Packages]
  26. MdePkg/MdePkg.dec
  27. MdeModulePkg/MdeModulePkg.dec
  28. OvmfPkg/OvmfPkg.dec
  29. [LibraryClasses]
  30. BaseLib
  31. BaseMemoryLib
  32. DebugLib
  33. DxeServicesTableLib
  34. HobLib
  35. MemoryAllocationLib
  36. PcdLib
  37. PlatformFvbLib
  38. UefiBootServicesTableLib
  39. UefiDriverEntryPoint
  40. UefiLib
  41. UefiRuntimeLib
  42. [Guids]
  43. gEfiEventVirtualAddressChangeGuid # ALWAYS_CONSUMED Create Event: EVENT_GROUP_GUID
  44. [Protocols]
  45. gEfiFirmwareVolumeBlock2ProtocolGuid # PROTOCOL ALWAYS_PRODUCED
  46. gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_PRODUCED
  47. [FixedPcd]
  48. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
  49. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
  50. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
  51. [Pcd]
  52. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
  53. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64
  54. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64
  55. gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
  56. [Depex]
  57. TRUE