Jiewen Yao f932073831 MdePkg/SmmIoLib: Add sample instance.
The sample instance check if IO resource is valid
one defined in GCD.
A platform may choose add more check to exclude some
other IO resource.

Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
2017-04-26 09:22:20 +08:00

54 lines
1.7 KiB
INI

## @file
# Instance of SMM IO check library.
#
# SMM IO check library library implementation. This library consumes GCD to collect all valid
# IO space defined by a platform.
# A platform may have its own SmmIoLib instance to exclude more IO space.
#
# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = SmmIoLib
MODULE_UNI_FILE = SmmIoLib.uni
FILE_GUID = F0F5A845-E3ED-4C6E-82D6-4ECE85DAC00F
MODULE_TYPE = DXE_SMM_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = SmmIoLib|DXE_SMM_DRIVER SMM_CORE
CONSTRUCTOR = SmmIoLibConstructor
DESTRUCTOR = SmmIoLibDestructor
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64
#
[Sources]
SmmIoLib.c
[Packages]
MdePkg/MdePkg.dec
[LibraryClasses]
SmmServicesTableLib
UefiBootServicesTableLib
DxeServicesTableLib
DebugLib
BaseMemoryLib
MemoryAllocationLib
HobLib
[Protocols]
gEfiSmmReadyToLockProtocolGuid ## CONSUMES
gEfiSmmEndOfDxeProtocolGuid ## CONSUMES