mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-11-04 11:29:11 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									482114024e
								
							
						
					
					
						commit
						a326830d70
					
				@ -58,6 +58,7 @@
 | 
			
		||||
  DebugLib
 | 
			
		||||
  TimerLib
 | 
			
		||||
  ReportStatusCodeLib
 | 
			
		||||
  PcdLib
 | 
			
		||||
 | 
			
		||||
[Protocols]
 | 
			
		||||
  gEfiAtaPassThruProtocolGuid                   # BY_START
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -93,6 +93,7 @@
 | 
			
		||||
  DxeServicesLib
 | 
			
		||||
  DebugAgentLib
 | 
			
		||||
  CpuExceptionHandlerLib
 | 
			
		||||
  PcdLib
 | 
			
		||||
 | 
			
		||||
[Guids]
 | 
			
		||||
  gEfiEventMemoryMapChangeGuid                  ## CONSUMES ## Event
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -48,7 +48,6 @@
 | 
			
		||||
  MemoryAllocationLib
 | 
			
		||||
  PcdLib
 | 
			
		||||
  HobLib
 | 
			
		||||
  PcdLib
 | 
			
		||||
 | 
			
		||||
[Protocols]
 | 
			
		||||
  gEfiAcpiTableProtocolGuid                     ## SOMETIMES_CONSUMES
 | 
			
		||||
 | 
			
		||||
@ -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>
 | 
			
		||||
/**
 | 
			
		||||
 | 
			
		||||
@ -38,7 +38,6 @@
 | 
			
		||||
  MdeModulePkg/MdeModulePkg.dec
 | 
			
		||||
 | 
			
		||||
[LibraryClasses]
 | 
			
		||||
  PcdLib
 | 
			
		||||
  UefiRuntimeServicesTableLib
 | 
			
		||||
  UefiBootServicesTableLib
 | 
			
		||||
  MemoryAllocationLib
 | 
			
		||||
 | 
			
		||||
@ -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]
 | 
			
		||||
 | 
			
		||||
@ -26,7 +26,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | 
			
		||||
#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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -49,6 +49,7 @@
 | 
			
		||||
  UefiDriverEntryPoint
 | 
			
		||||
  DebugLib
 | 
			
		||||
  UefiLib
 | 
			
		||||
  PcdLib
 | 
			
		||||
 | 
			
		||||
[Guids]
 | 
			
		||||
  gEfiSystemNvDataFvGuid                        ## CONSUMES ## FV Signature of Working Space Header
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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>
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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,7 +49,7 @@
 | 
			
		||||
  MemoryAllocationLib
 | 
			
		||||
  BaseMemoryLib
 | 
			
		||||
  HobLib
 | 
			
		||||
 | 
			
		||||
  PcdLib
 | 
			
		||||
 | 
			
		||||
[Protocols]
 | 
			
		||||
  gEfiVariableArchProtocolGuid                  ## PRODUCES
 | 
			
		||||
 | 
			
		||||
@ -62,6 +62,7 @@
 | 
			
		||||
  DebugLib
 | 
			
		||||
  DxeServicesTableLib
 | 
			
		||||
  HobLib
 | 
			
		||||
  PcdLib
 | 
			
		||||
 | 
			
		||||
[Protocols]
 | 
			
		||||
  gEfiSmmFirmwareVolumeBlockProtocolGuid        ## SOMETIMES_CONSUMES
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user