MdePkg/SmmIoLib: Add sample instance.
[mirror_edk2.git] / MdePkg / Library / SmmIoLib / SmmIoLib.inf
1 ## @file
2 # Instance of SMM IO check library.
3 #
4 # SMM IO check library library implementation. This library consumes GCD to collect all valid
5 # IO space defined by a platform.
6 # A platform may have its own SmmIoLib instance to exclude more IO space.
7 #
8 # Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
9 # This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 #
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = SmmIoLib
22 MODULE_UNI_FILE = SmmIoLib.uni
23 FILE_GUID = F0F5A845-E3ED-4C6E-82D6-4ECE85DAC00F
24 MODULE_TYPE = DXE_SMM_DRIVER
25 VERSION_STRING = 1.0
26 LIBRARY_CLASS = SmmIoLib|DXE_SMM_DRIVER SMM_CORE
27 CONSTRUCTOR = SmmIoLibConstructor
28 DESTRUCTOR = SmmIoLibDestructor
29
30 #
31 # The following information is for reference only and not required by the build tools.
32 #
33 # VALID_ARCHITECTURES = IA32 X64
34 #
35
36 [Sources]
37 SmmIoLib.c
38
39 [Packages]
40 MdePkg/MdePkg.dec
41
42 [LibraryClasses]
43 SmmServicesTableLib
44 UefiBootServicesTableLib
45 DxeServicesTableLib
46 DebugLib
47 BaseMemoryLib
48 MemoryAllocationLib
49 HobLib
50
51 [Protocols]
52 gEfiSmmReadyToLockProtocolGuid ## CONSUMES
53 gEfiSmmEndOfDxeProtocolGuid ## CONSUMES