]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Instance of SMM memory check library.\r | |
3 | #\r | |
4 | # SMM memory check library library implementation. This library consumes SMM_ACCESS2_PROTOCOL\r | |
5 | # to get SMRAM information. In order to use this library instance, the platform should produce\r | |
6 | # all SMRAM range via SMM_ACCESS2_PROTOCOL, including the range for firmware (like SMM Core\r | |
7 | # and SMM driver) and/or specific dedicated hardware.\r | |
8 | #\r | |
9 | # Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
10 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
11 | #\r | |
12 | ##\r | |
13 | \r | |
14 | [Defines]\r | |
15 | INF_VERSION = 0x00010005\r | |
16 | BASE_NAME = SmmMemLib\r | |
17 | MODULE_UNI_FILE = SmmMemLib.uni\r | |
18 | FILE_GUID = 7F23F839-C81C-4B89-8132-69746FCBCE52\r | |
19 | MODULE_TYPE = DXE_SMM_DRIVER\r | |
20 | VERSION_STRING = 1.0\r | |
21 | LIBRARY_CLASS = SmmMemLib|DXE_SMM_DRIVER SMM_CORE\r | |
22 | CONSTRUCTOR = SmmMemLibConstructor\r | |
23 | DESTRUCTOR = SmmMemLibDestructor\r | |
24 | \r | |
25 | #\r | |
26 | # The following information is for reference only and not required by the build tools.\r | |
27 | #\r | |
28 | # VALID_ARCHITECTURES = IA32 X64\r | |
29 | #\r | |
30 | \r | |
31 | [Sources]\r | |
32 | SmmMemLib.c\r | |
33 | \r | |
34 | [Packages]\r | |
35 | MdePkg/MdePkg.dec\r | |
36 | \r | |
37 | [LibraryClasses]\r | |
38 | SmmServicesTableLib\r | |
39 | UefiBootServicesTableLib\r | |
40 | DxeServicesTableLib\r | |
41 | DebugLib\r | |
42 | BaseMemoryLib\r | |
43 | HobLib\r | |
44 | MemoryAllocationLib\r | |
45 | UefiLib\r | |
46 | \r | |
47 | [Protocols]\r | |
48 | gEfiSmmAccess2ProtocolGuid ## CONSUMES\r | |
49 | gEfiSmmReadyToLockProtocolGuid ## CONSUMES\r | |
50 | gEfiSmmEndOfDxeProtocolGuid ## CONSUMES\r | |
51 | \r | |
52 | [Guids]\r | |
53 | gEfiMemoryAttributesTableGuid ## CONSUMES ## SystemTable\r | |
54 | \r | |
55 | [Depex]\r | |
56 | gEfiSmmAccess2ProtocolGuid\r |