]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg: PiSmmCpuDxeSmm: Remove unused references to SmmLib
authorMichael Kinney <michael.d.kinney@intel.com>
Mon, 26 Oct 2015 16:40:52 +0000 (16:40 +0000)
committermdkinney <mdkinney@Edk2>
Mon, 26 Oct 2015 16:40:52 +0000 (16:40 +0000)
The PiSmmCpuDxeSmm module does not use any services from the SmmLib.
This change removes the SmmLib from PiSmmCpuDxeSmm module and also
removes the lib mapping in the UefiCpuPkg DSC file because no other
modules in the UefiCpuPkg use the SmmLib.

Removal of SmmLib is now possible because the only API call to it,
ClearSmi(), was ultimately removed from PiSmmCpuDxeSmm -- see the
"BUGBUG" comment in git commit 529a5a86.

Cc: "Yao, Jiewen" <jiewen.yao@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: "Yao, Jiewen" <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18673 6f19259b-4bc3-4df7-8a09-765794883524

UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
UefiCpuPkg/UefiCpuPkg.dsc

index 9ea11894cdd550de81a7a1a99b419ff7118b1e84..162bdadf0bce3d494300c2d881db039c3a7cc6b2 100644 (file)
@@ -30,7 +30,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/BaseLib.h>\r
 #include <Library/IoLib.h>\r
 #include <Library/TimerLib.h>\r
-#include <Library/SmmLib.h>\r
 #include <Library/SynchronizationLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
index 45ab16c07f2b4c981a217f9c1fca6a7c88863009..f559947ee42029851a93dcdc3171e0b8b6dd45d5 100644 (file)
   SynchronizationLib\r
   BaseMemoryLib\r
   MtrrLib\r
-  SmmLib\r
   IoLib\r
   TimerLib\r
   SmmServicesTableLib\r
index 10197d4c876c0e514b1646d7bbf59bbef3ac309b..756645f728d4019ee520819fb4b24fb3d594a0d0 100644 (file)
@@ -55,7 +55,6 @@
   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
   SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
   CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
-  SmmLib|MdePkg/Library/SmmLibNull/SmmLibNull.inf\r
   PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
   PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
   SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r