summaryrefslogtreecommitdiff
path: root/MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-14 05:49:44 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-14 05:49:44 +0000
commit53b85bcbf03ee7a03aacda8bd43206f25844996e (patch)
treea5b050f40b87f707e9c98d869d98169655d318b6 /MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
parent112af4265f6aca7ac155e4522c75504cba1e4e6c (diff)
downloadedk2-platforms-53b85bcbf03ee7a03aacda8bd43206f25844996e.tar.xz
1) Remove dependency on the UEFI Boot Services Table Library so the gBS, gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library.
2) Remove redundant include of <PiDxe.h> 3) Clean up constructor to use InSmm() library function instead of duplicating logic. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10000 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf')
-rw-r--r--MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf10
1 files changed, 3 insertions, 7 deletions
diff --git a/MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf b/MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
index e0e699b001..a13c80a786 100644
--- a/MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
+++ b/MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
@@ -1,7 +1,7 @@
#/** @file
# SMM Services Table Library.
#
-# Copyright (c) 2009, Intel Corporation.
+# Copyright (c) 2009 - 2010, Intel Corporation.
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -20,28 +20,24 @@
MODULE_TYPE = DXE_SMM_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = SmmServicesTableLib|SMM_CORE DXE_SMM_DRIVER
- EDK_RELEASE_VERSION = 0x00020000
- EFI_SPECIFICATION_VERSION = 0x00020000
PI_SPECIFICATION_VERSION = 0x0001000A
-
CONSTRUCTOR = SmmServicesTableLibConstructor
#
# VALID_ARCHITECTURES = IA32 X64
#
-[Sources.common]
+[Sources]
SmmServicesTableLib.c
[Packages]
MdePkg/MdePkg.dec
[LibraryClasses]
- UefiBootServicesTableLib
DebugLib
[Protocols]
gEfiSmmBase2ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
-[Depex.common.DXE_DRIVER]
+[Depex]
gEfiSmmBase2ProtocolGuid