MdeModulePkg: eliminate all implicit library dependencies for all modules in MdeModulePkg on PcdLib

Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13909 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
erictian
2012-11-01 06:59:25 +00:00
parent 482114024e
commit a326830d70
18 changed files with 19 additions and 18 deletions

View File

@ -58,6 +58,7 @@
DebugLib DebugLib
TimerLib TimerLib
ReportStatusCodeLib ReportStatusCodeLib
PcdLib
[Protocols] [Protocols]
gEfiAtaPassThruProtocolGuid # BY_START gEfiAtaPassThruProtocolGuid # BY_START

View File

@ -4,7 +4,7 @@
# for Atapi CD ROM device. # for Atapi CD ROM device.
# #
# This module discovers CDROM devices in Legacy and native mode and installs block IO ppis for them. # 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 # This program and the accompanying materials
# are licensed and made available under the terms and conditions # are licensed and made available under the terms and conditions
@ -51,6 +51,7 @@
TimerLib TimerLib
PeiServicesTablePointerLib PeiServicesTablePointerLib
MemoryAllocationLib MemoryAllocationLib
PcdLib
[Ppis] [Ppis]
gPeiAtaControllerPpiGuid # PPI ALWAYS_CONSUMED gPeiAtaControllerPpiGuid # PPI ALWAYS_CONSUMED

View File

@ -93,6 +93,7 @@
DxeServicesLib DxeServicesLib
DebugAgentLib DebugAgentLib
CpuExceptionHandlerLib CpuExceptionHandlerLib
PcdLib
[Guids] [Guids]
gEfiEventMemoryMapChangeGuid ## CONSUMES ## Event gEfiEventMemoryMapChangeGuid ## CONSUMES ## Event

View File

@ -4,7 +4,7 @@
# 2) Dispatch PEIM from discovered FV. # 2) Dispatch PEIM from discovered FV.
# 3) Handoff control to DxeIpl to load DXE core and enter DXE phase. # 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 # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -67,6 +67,7 @@
CacheMaintenanceLib CacheMaintenanceLib
PeCoffLib PeCoffLib
PeiServicesTablePointerLib PeiServicesTablePointerLib
PcdLib
[Guids] [Guids]
gPeiAprioriFileNameGuid ## CONSUMES ## GUID gPeiAprioriFileNameGuid ## CONSUMES ## GUID

View File

@ -1,7 +1,7 @@
## @file ## @file
# This module provide an SMM CIS compliant implementation of SMM IPL. # 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 # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -48,6 +48,7 @@
UefiLib UefiLib
UefiRuntimeLib UefiRuntimeLib
DxeServicesLib DxeServicesLib
PcdLib
[Protocols] [Protocols]
gEfiSmmBase2ProtocolGuid # PROTOCOL ALWAYS_PRODUCED gEfiSmmBase2ProtocolGuid # PROTOCOL ALWAYS_PRODUCED

View File

@ -48,7 +48,6 @@
MemoryAllocationLib MemoryAllocationLib
PcdLib PcdLib
HobLib HobLib
PcdLib
[Protocols] [Protocols]
gEfiAcpiTableProtocolGuid ## SOMETIMES_CONSUMES gEfiAcpiTableProtocolGuid ## SOMETIMES_CONSUMES

View File

@ -25,7 +25,6 @@
#include <Library/UefiBootServicesTableLib.h> #include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h> #include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/S3BootScriptLib.h> #include <Library/S3BootScriptLib.h>
#include <Library/PcdLib.h>
#include <Library/SmbusLib.h> #include <Library/SmbusLib.h>
#include <IndustryStandard/SmBus.h> #include <IndustryStandard/SmBus.h>
/** /**

View File

@ -38,7 +38,6 @@
MdeModulePkg/MdeModulePkg.dec MdeModulePkg/MdeModulePkg.dec
[LibraryClasses] [LibraryClasses]
PcdLib
UefiRuntimeServicesTableLib UefiRuntimeServicesTableLib
UefiBootServicesTableLib UefiBootServicesTableLib
MemoryAllocationLib MemoryAllocationLib

View File

@ -6,7 +6,7 @@
# provides debug-agent to periodically gain control during operation of the machine to # provides debug-agent to periodically gain control during operation of the machine to
# check for asynchronous commands form the host. # 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 # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -72,7 +72,6 @@
DebugLib DebugLib
[LibraryClasses.IA32] [LibraryClasses.IA32]
PcdLib
BaseLib BaseLib
[LibraryClasses.X64] [LibraryClasses.X64]

View File

@ -26,7 +26,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/MemoryAllocationLib.h> #include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h> #include <Library/UefiBootServicesTableLib.h>
#include <Library/BaseLib.h> #include <Library/BaseLib.h>
#include <Library/PcdLib.h>
#define NUM_IDT_ENTRIES 0x78 #define NUM_IDT_ENTRIES 0x78
#define SYSTEM_TIMER_VECTOR 0x68 #define SYSTEM_TIMER_VECTOR 0x68

View File

@ -3,7 +3,7 @@
# which provides fault tolerant write capability for block devices. # 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. # 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 # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -46,6 +46,7 @@
UefiDriverEntryPoint UefiDriverEntryPoint
DebugLib DebugLib
UefiLib UefiLib
PcdLib
[Guids] [Guids]
gEfiSystemNvDataFvGuid ## CONSUMES ## FV Signature of Working Space Header gEfiSystemNvDataFvGuid ## CONSUMES ## FV Signature of Working Space Header

View File

@ -49,6 +49,7 @@
UefiDriverEntryPoint UefiDriverEntryPoint
DebugLib DebugLib
UefiLib UefiLib
PcdLib
[Guids] [Guids]
gEfiSystemNvDataFvGuid ## CONSUMES ## FV Signature of Working Space Header gEfiSystemNvDataFvGuid ## CONSUMES ## FV Signature of Working Space Header

View File

@ -2,7 +2,7 @@
# This module is the Runtime DXE part corresponding to SMM Fault Tolerant Write (FTW) module. # 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. # 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 # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -42,7 +42,6 @@
DebugLib DebugLib
DxeServicesTableLib DxeServicesTableLib
UefiDriverEntryPoint UefiDriverEntryPoint
PcdLib
[Protocols] [Protocols]
gEfiFaultTolerantWriteProtocolGuid ## ALWAYS_PRODUCES gEfiFaultTolerantWriteProtocolGuid ## ALWAYS_PRODUCES

View File

@ -24,7 +24,6 @@
#include <Library/BaseLib.h> #include <Library/BaseLib.h>
#include <Library/SynchronizationLib.h> #include <Library/SynchronizationLib.h>
#include <Library/DebugLib.h> #include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/HobLib.h> #include <Library/HobLib.h>
#include <Library/UefiDriverEntryPoint.h> #include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h> #include <Library/UefiBootServicesTableLib.h>

View File

@ -2,7 +2,7 @@
# Report Status Code Router Driver which produces Report Stataus Code Handler Protocol # Report Status Code Router Driver which produces Report Stataus Code Handler Protocol
# and Status Code Runtime 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 # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -44,7 +44,6 @@
UefiBootServicesTableLib UefiBootServicesTableLib
UefiDriverEntryPoint UefiDriverEntryPoint
HobLib HobLib
PcdLib
DebugLib DebugLib
BaseLib BaseLib
SynchronizationLib SynchronizationLib

View File

@ -1,7 +1,7 @@
## @file ## @file
# The DXE driver produces FORM BROWSER protocols defined in UEFI HII 2.1 specificatin. # 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 # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -58,6 +58,7 @@
PrintLib PrintLib
HiiLib HiiLib
DevicePathLib DevicePathLib
PcdLib
[Guids] [Guids]
gEfiIfrTianoGuid ## CONSUMES ## GUID gEfiIfrTianoGuid ## CONSUMES ## GUID

View File

@ -2,7 +2,7 @@
# Emulation Variable for EFI_RUNTIME_SERVICES. # Emulation Variable for EFI_RUNTIME_SERVICES.
# #
# This module provides three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName # 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 # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -49,7 +49,7 @@
MemoryAllocationLib MemoryAllocationLib
BaseMemoryLib BaseMemoryLib
HobLib HobLib
PcdLib
[Protocols] [Protocols]
gEfiVariableArchProtocolGuid ## PRODUCES gEfiVariableArchProtocolGuid ## PRODUCES

View File

@ -62,6 +62,7 @@
DebugLib DebugLib
DxeServicesTableLib DxeServicesTableLib
HobLib HobLib
PcdLib
[Protocols] [Protocols]
gEfiSmmFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES gEfiSmmFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES