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