SecMemEncryptSevLib.inf 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ## @file
  2. # Library provides the helper functions for SEV guest
  3. #
  4. # Copyright (c) 2020 Advanced Micro Devices. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. #
  9. ##
  10. [Defines]
  11. INF_VERSION = 1.25
  12. BASE_NAME = SecMemEncryptSevLib
  13. FILE_GUID = 046388b4-430e-4e61-88f6-51ea21db2632
  14. MODULE_TYPE = BASE
  15. VERSION_STRING = 1.0
  16. LIBRARY_CLASS = MemEncryptSevLib|SEC
  17. #
  18. # The following information is for reference only and not required by the build
  19. # tools.
  20. #
  21. # VALID_ARCHITECTURES = IA32 X64
  22. #
  23. [Packages]
  24. MdeModulePkg/MdeModulePkg.dec
  25. MdePkg/MdePkg.dec
  26. OvmfPkg/OvmfPkg.dec
  27. UefiCpuPkg/UefiCpuPkg.dec
  28. [Sources]
  29. SecMemEncryptSevLibInternal.c
  30. [Sources.X64]
  31. X64/MemEncryptSevLib.c
  32. X64/SecVirtualMemory.c
  33. X64/SecSnpSystemRamValidate.c
  34. X64/SnpPageStateChangeInternal.c
  35. X64/VirtualMemory.c
  36. X64/VirtualMemory.h
  37. [Sources.IA32]
  38. Ia32/MemEncryptSevLib.c
  39. [LibraryClasses]
  40. BaseLib
  41. CpuLib
  42. DebugLib
  43. PcdLib
  44. CcExitLib
  45. [FixedPcd]
  46. gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase
  47. gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase