From a326830d70ceca7c74ca66f99e3c29f753779a7e Mon Sep 17 00:00:00 2001 From: erictian Date: Thu, 1 Nov 2012 06:59:25 +0000 Subject: MdeModulePkg: eliminate all implicit library dependencies for all modules in MdeModulePkg on PcdLib Signed-off-by: Tian Feng Reviewed-by: Liming Gao Reviewed-by: Jiewen Yao git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13909 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf | 1 - MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h | 1 - MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf | 1 - MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf | 3 +-- MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h | 1 - .../Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf | 3 ++- .../Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf | 1 + .../Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.inf | 3 +-- .../RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h | 1 - .../RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf | 3 +-- MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf | 3 ++- .../Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf | 4 ++-- MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf | 1 + 13 files changed, 11 insertions(+), 15 deletions(-) (limited to 'MdeModulePkg/Universal') diff --git a/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf b/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf index 9cb8781..89424ac 100644 --- a/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf +++ b/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf @@ -48,7 +48,6 @@ MemoryAllocationLib PcdLib HobLib - PcdLib [Protocols] gEfiAcpiTableProtocolGuid ## SOMETIMES_CONSUMES diff --git a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h index a9b724d..f5ca606 100644 --- a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h +++ b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h @@ -25,7 +25,6 @@ #include #include #include -#include #include #include /** diff --git a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf index 9a2cf96..e3fdb3a 100644 --- a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf +++ b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf @@ -38,7 +38,6 @@ MdeModulePkg/MdeModulePkg.dec [LibraryClasses] - PcdLib UefiRuntimeServicesTableLib UefiBootServicesTableLib MemoryAllocationLib diff --git a/MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf b/MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf index e745eb4..572a520 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf +++ b/MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf @@ -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.
+# Copyright (c) 2006 - 2012, 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 @@ -72,7 +72,6 @@ DebugLib [LibraryClasses.IA32] - PcdLib BaseLib [LibraryClasses.X64] diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h index 50944e6..7f7d8e5 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h +++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h @@ -26,7 +26,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include -#include #define NUM_IDT_ENTRIES 0x78 #define SYSTEM_TIMER_VECTOR 0x68 diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf index 72420d7..f60ab28 100644 --- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf +++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf @@ -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.
+# Copyright (c) 2006 - 2012, 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 @@ -46,6 +46,7 @@ UefiDriverEntryPoint DebugLib UefiLib + PcdLib [Guids] gEfiSystemNvDataFvGuid ## CONSUMES ## FV Signature of Working Space Header diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf index ec33465..7e07dc8 100644 --- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf +++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf @@ -49,6 +49,7 @@ UefiDriverEntryPoint DebugLib UefiLib + PcdLib [Guids] gEfiSystemNvDataFvGuid ## CONSUMES ## FV Signature of Working Space Header diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.inf b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.inf index 35aff05..3ed0393 100644 --- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.inf +++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.inf @@ -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.
+# Copyright (c) 2011 - 2012, 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 @@ -42,7 +42,6 @@ DebugLib DxeServicesTableLib UefiDriverEntryPoint - PcdLib [Protocols] gEfiFaultTolerantWriteProtocolGuid ## ALWAYS_PRODUCES diff --git a/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h b/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h index 1317702..c82f296 100644 --- a/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h +++ b/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf b/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf index 023772c..6c4d9e6 100644 --- a/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf +++ b/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf @@ -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.
+# Copyright (c) 2009 - 2012, 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 @@ -44,7 +44,6 @@ UefiBootServicesTableLib UefiDriverEntryPoint HobLib - PcdLib DebugLib BaseLib SynchronizationLib diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf b/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf index 6c7820c..2edbd3a 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf +++ b/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf @@ -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.
+# Copyright (c) 2007 - 2012, 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 @@ -58,6 +58,7 @@ PrintLib HiiLib DevicePathLib + PcdLib [Guids] gEfiIfrTianoGuid ## CONSUMES ## GUID diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf index 19ceb3d..0b12464 100644 --- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf +++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf @@ -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.
+# Copyright (c) 2006 - 2012, 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 @@ -49,7 +49,7 @@ MemoryAllocationLib BaseMemoryLib HobLib - + PcdLib [Protocols] gEfiVariableArchProtocolGuid ## PRODUCES diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf index 11009c2..e2c5d9c 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf @@ -62,6 +62,7 @@ DebugLib DxeServicesTableLib HobLib + PcdLib [Protocols] gEfiSmmFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES -- cgit v1.1