Revision: 13909
          http://edk2.svn.sourceforge.net/edk2/?rev=13909&view=rev
Author:   erictian
Date:     2012-11-01 06:59:25 +0000 (Thu, 01 Nov 2012)
Log Message:
-----------
MdeModulePkg: eliminate all implicit library dependencies for all modules in 
MdeModulePkg on PcdLib

Signed-off-by: Tian Feng <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
    trunk/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/IdeBusPei.inf
    trunk/edk2/MdeModulePkg/Core/Dxe/DxeMain.inf
    trunk/edk2/MdeModulePkg/Core/Pei/PeiMain.inf
    trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
    
trunk/edk2/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
    trunk/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h
    trunk/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
    trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf
    trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h
    
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
    
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
    
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.inf
    
trunk/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h
    
trunk/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
    trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
    
trunk/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
    trunk/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf

Modified: trunk/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf       
2012-11-01 04:46:26 UTC (rev 13908)
+++ trunk/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf       
2012-11-01 06:59:25 UTC (rev 13909)
@@ -58,6 +58,7 @@
   DebugLib
   TimerLib
   ReportStatusCodeLib
+  PcdLib
 
 [Protocols]
   gEfiAtaPassThruProtocolGuid                   # BY_START

Modified: trunk/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/IdeBusPei.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/IdeBusPei.inf     2012-11-01 
04:46:26 UTC (rev 13908)
+++ trunk/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/IdeBusPei.inf     2012-11-01 
06:59:25 UTC (rev 13909)
@@ -4,7 +4,7 @@
 # for Atapi CD ROM device.
 #
 # This module discovers CDROM devices in Legacy and native mode and installs 
block IO ppis for them.
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
 #
 # This program and the accompanying materials
 # are licensed and made available under the terms and conditions
@@ -51,6 +51,7 @@
   TimerLib
   PeiServicesTablePointerLib
   MemoryAllocationLib
+  PcdLib
 
 [Ppis]
   gPeiAtaControllerPpiGuid                      # PPI ALWAYS_CONSUMED

Modified: trunk/edk2/MdeModulePkg/Core/Dxe/DxeMain.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Core/Dxe/DxeMain.inf        2012-11-01 04:46:26 UTC 
(rev 13908)
+++ trunk/edk2/MdeModulePkg/Core/Dxe/DxeMain.inf        2012-11-01 06:59:25 UTC 
(rev 13909)
@@ -93,6 +93,7 @@
   DxeServicesLib
   DebugAgentLib
   CpuExceptionHandlerLib
+  PcdLib
 
 [Guids]
   gEfiEventMemoryMapChangeGuid                  ## CONSUMES ## Event

Modified: trunk/edk2/MdeModulePkg/Core/Pei/PeiMain.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Core/Pei/PeiMain.inf        2012-11-01 04:46:26 UTC 
(rev 13908)
+++ trunk/edk2/MdeModulePkg/Core/Pei/PeiMain.inf        2012-11-01 06:59:25 UTC 
(rev 13909)
@@ -4,7 +4,7 @@
 # 2) Dispatch PEIM from discovered FV.
 # 3) Handoff control to DxeIpl to load DXE core and enter DXE phase.
 #
-# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2012, 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
@@ -67,6 +67,7 @@
   CacheMaintenanceLib
   PeCoffLib
   PeiServicesTablePointerLib
+  PcdLib
 
 [Guids]
   gPeiAprioriFileNameGuid       ## CONSUMES ## GUID

Modified: trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf 2012-11-01 04:46:26 UTC 
(rev 13908)
+++ trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf 2012-11-01 06:59:25 UTC 
(rev 13909)
@@ -1,7 +1,7 @@
 ## @file
 #   This module provide an SMM CIS compliant implementation of SMM IPL.
 #
-# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2009 - 2012, 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
@@ -48,6 +48,7 @@
   UefiLib
   UefiRuntimeLib
   DxeServicesLib
+  PcdLib
   
 [Protocols]
   gEfiSmmBase2ProtocolGuid                      # PROTOCOL ALWAYS_PRODUCED

Modified: 
trunk/edk2/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
===================================================================
--- 
trunk/edk2/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
   2012-11-01 04:46:26 UTC (rev 13908)
+++ 
trunk/edk2/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
   2012-11-01 06:59:25 UTC (rev 13909)
@@ -48,7 +48,6 @@
   MemoryAllocationLib
   PcdLib
   HobLib
-  PcdLib
 
 [Protocols]
   gEfiAcpiTableProtocolGuid                     ## SOMETIMES_CONSUMES

Modified: 
trunk/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h 
2012-11-01 04:46:26 UTC (rev 13908)
+++ trunk/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h 
2012-11-01 06:59:25 UTC (rev 13909)
@@ -25,7 +25,6 @@
 #include <Library/UefiBootServicesTableLib.h>
 #include <Library/UefiRuntimeServicesTableLib.h>
 #include <Library/S3BootScriptLib.h>
-#include <Library/PcdLib.h>
 #include <Library/SmbusLib.h>
 #include <IndustryStandard/SmBus.h>
 /**

Modified: 
trunk/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf    
2012-11-01 04:46:26 UTC (rev 13908)
+++ trunk/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf    
2012-11-01 06:59:25 UTC (rev 13909)
@@ -38,7 +38,6 @@
   MdeModulePkg/MdeModulePkg.dec
 
 [LibraryClasses]
-  PcdLib
   UefiRuntimeServicesTableLib
   UefiBootServicesTableLib
   MemoryAllocationLib

Modified: trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf       
2012-11-01 04:46:26 UTC (rev 13908)
+++ trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf       
2012-11-01 06:59:25 UTC (rev 13909)
@@ -6,7 +6,7 @@
 # provides debug-agent to periodically gain control during operation of the 
machine to
 # check for asynchronous commands form the host.
 #
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2012, 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
@@ -72,7 +72,6 @@
   DebugLib
 
 [LibraryClasses.IA32]
-  PcdLib
   BaseLib
 
 [LibraryClasses.X64]

Modified: trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h       
2012-11-01 04:46:26 UTC (rev 13908)
+++ trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h       
2012-11-01 06:59:25 UTC (rev 13909)
@@ -26,7 +26,6 @@
 #include <Library/MemoryAllocationLib.h>
 #include <Library/UefiBootServicesTableLib.h>
 #include <Library/BaseLib.h>
-#include <Library/PcdLib.h>
 
 #define NUM_IDT_ENTRIES                 0x78
 #define SYSTEM_TIMER_VECTOR             0x68

Modified: 
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
===================================================================
--- 
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
   2012-11-01 04:46:26 UTC (rev 13908)
+++ 
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
   2012-11-01 06:59:25 UTC (rev 13909)
@@ -3,7 +3,7 @@
 # which provides fault tolerant write capability for block devices.
 # Its implementation depends on the full functionality FVB protocol that 
support read, write/erase flash access.
 #
-# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2012, 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
@@ -46,6 +46,7 @@
   UefiDriverEntryPoint
   DebugLib
   UefiLib
+  PcdLib
 
 [Guids]
   gEfiSystemNvDataFvGuid                        ## CONSUMES ## FV Signature of 
Working Space Header

Modified: 
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
===================================================================
--- 
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
   2012-11-01 04:46:26 UTC (rev 13908)
+++ 
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
   2012-11-01 06:59:25 UTC (rev 13909)
@@ -49,6 +49,7 @@
   UefiDriverEntryPoint
   DebugLib
   UefiLib
+  PcdLib
 
 [Guids]
   gEfiSystemNvDataFvGuid                        ## CONSUMES ## FV Signature of 
Working Space Header

Modified: 
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.inf
===================================================================
--- 
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.inf
        2012-11-01 04:46:26 UTC (rev 13908)
+++ 
trunk/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.inf
        2012-11-01 06:59:25 UTC (rev 13909)
@@ -2,7 +2,7 @@
 # This module is the Runtime DXE part corresponding to SMM Fault Tolerant 
Write (FTW) module. 
 # It installs FTW protocol and works with SMM FTW module together.
 #
-# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2011 - 2012, 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
@@ -42,7 +42,6 @@
   DebugLib
   DxeServicesTableLib
   UefiDriverEntryPoint
-  PcdLib  
 
 [Protocols]
   gEfiFaultTolerantWriteProtocolGuid           ## ALWAYS_PRODUCES

Modified: 
trunk/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h
===================================================================
--- 
trunk/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h
      2012-11-01 04:46:26 UTC (rev 13908)
+++ 
trunk/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h
      2012-11-01 06:59:25 UTC (rev 13909)
@@ -24,7 +24,6 @@
 #include <Library/BaseLib.h>
 #include <Library/SynchronizationLib.h>
 #include <Library/DebugLib.h>
-#include <Library/PcdLib.h>
 #include <Library/HobLib.h>
 #include <Library/UefiDriverEntryPoint.h>
 #include <Library/UefiBootServicesTableLib.h>

Modified: 
trunk/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
===================================================================
--- 
trunk/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
    2012-11-01 04:46:26 UTC (rev 13908)
+++ 
trunk/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
    2012-11-01 06:59:25 UTC (rev 13909)
@@ -2,7 +2,7 @@
 #  Report Status Code Router Driver which produces Report Stataus Code Handler 
Protocol
 #  and Status Code Runtime Protocol.
 #
-#  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+#  Copyright (c) 2009 - 2012, 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
@@ -44,7 +44,6 @@
   UefiBootServicesTableLib
   UefiDriverEntryPoint
   HobLib
-  PcdLib
   DebugLib
   BaseLib
   SynchronizationLib

Modified: trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf       
2012-11-01 04:46:26 UTC (rev 13908)
+++ trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf       
2012-11-01 06:59:25 UTC (rev 13909)
@@ -1,7 +1,7 @@
 ## @file
 # The DXE driver produces FORM BROWSER protocols defined in UEFI HII 2.1 
specificatin.
 #
-# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2012, 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
@@ -58,6 +58,7 @@
   PrintLib
   HiiLib
   DevicePathLib
+  PcdLib
 
 [Guids]
   gEfiIfrTianoGuid                              ## CONSUMES  ## GUID

Modified: 
trunk/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
===================================================================
--- 
trunk/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
  2012-11-01 04:46:26 UTC (rev 13908)
+++ 
trunk/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
  2012-11-01 06:59:25 UTC (rev 13909)
@@ -2,7 +2,7 @@
 # Emulation Variable for EFI_RUNTIME_SERVICES.
 #
 # This module provides three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, 
GetNextVariableName
-# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2012, 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
@@ -49,8 +49,8 @@
   MemoryAllocationLib
   BaseMemoryLib
   HobLib
+  PcdLib
 
-
 [Protocols]
   gEfiVariableArchProtocolGuid                  ## PRODUCES
   gEfiVariableWriteArchProtocolGuid             ## PRODUCES

Modified: trunk/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf       
2012-11-01 04:46:26 UTC (rev 13908)
+++ trunk/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf       
2012-11-01 06:59:25 UTC (rev 13909)
@@ -62,6 +62,7 @@
   DebugLib
   DxeServicesTableLib
   HobLib
+  PcdLib
 
 [Protocols]
   gEfiSmmFirmwareVolumeBlockProtocolGuid        ## SOMETIMES_CONSUMES

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to