StandaloneMmMemLib.inf 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ## @file
  2. # Instance of MM memory check library.
  3. #
  4. # MM memory check library implementation. This library consumes MM_ACCESS_PROTOCOL
  5. # to get MMRAM information. In order to use this library instance, the platform should produce
  6. # all MMRAM range via MM_ACCESS_PROTOCOL, including the range for firmware (like MM Core
  7. # and MM driver) and/or specific dedicated hardware.
  8. #
  9. # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
  10. # Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
  11. # Copyright (c) Microsoft Corporation.
  12. #
  13. # SPDX-License-Identifier: BSD-2-Clause-Patent
  14. #
  15. ##
  16. [Defines]
  17. INF_VERSION = 0x0001001A
  18. BASE_NAME = MemLib
  19. FILE_GUID = EA355F14-6409-4716-829F-37B3BC7C7F26
  20. MODULE_TYPE = MM_STANDALONE
  21. VERSION_STRING = 1.0
  22. PI_SPECIFICATION_VERSION = 0x00010032
  23. LIBRARY_CLASS = MemLib|MM_STANDALONE MM_CORE_STANDALONE
  24. CONSTRUCTOR = MemLibConstructor
  25. DESTRUCTOR = MemLibDestructor
  26. #
  27. # The following information is for reference only and not required by the build tools.
  28. #
  29. # VALID_ARCHITECTURES = IA32 X64 AARCH64 ARM
  30. #
  31. [Sources.Common]
  32. StandaloneMmMemLib.c
  33. [Sources.IA32, Sources.X64]
  34. X86StandaloneMmMemLibInternal.c
  35. [Sources.AARCH64, Sources.ARM]
  36. ArmStandaloneMmMemLibInternal.c
  37. [Packages]
  38. MdePkg/MdePkg.dec
  39. StandaloneMmPkg/StandaloneMmPkg.dec
  40. [LibraryClasses]
  41. BaseMemoryLib
  42. DebugLib
  43. HobLib
  44. MemoryAllocationLib
  45. [Guids]
  46. gMmCoreDataHobGuid ## SOMETIMES_CONSUMES ## HOB
  47. gEfiMmPeiMmramMemoryReserveGuid ## SOMETIMES_CONSUMES ## HOB