]> git.proxmox.com Git - mirror_edk2.git/commitdiff
For libraries that have multiple module types support, just define a [Depex] section...
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Jul 2011 08:54:57 +0000 (08:54 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Jul 2011 08:54:57 +0000 (08:54 +0000)
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12052 6f19259b-4bc3-4df7-8a09-765794883524

18 files changed:
IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf
MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf
MdePkg/Library/DxeExtendedSalLib/DxeExtendedSalLib.inf
MdePkg/Library/DxePalLibEsal/DxePalLibEsal.inf
MdePkg/Library/DxePcdLib/DxePcdLib.inf
MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
MdePkg/Library/PeiPciLibPciCfg2/PeiPciLibPciCfg2.inf
MdePkg/Library/PeiPciSegmentLibPciCfg2/PeiPciSegmentLibPciCfg2.inf
MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf
MdePkg/Library/SmmIoLibSmmCpuIo2/SmmIoLibSmmCpuIo2.inf
MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf
MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf
MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/UefiPciSegmentLibPciRootBridgeIo.inf

index 8c6d4bd5394c931f3d88e39d30058d1e13b86678..c5e3e6173d28633c0805529a5e77ee316e2b4363 100644 (file)
@@ -3,7 +3,7 @@
 #\r
 # I/O Library implementation that uses the CPU I/O Protocol for I/O\r
 #  and MMIO operations.\r
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -48,5 +48,5 @@
 [Protocols]\r
   gEfiCpuIoProtocolGuid                         # PROTOCOL ALWAYS_CONSUMED\r
 \r
-[Depex]\r
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r
   gEfiCpuIoProtocolGuid
\ No newline at end of file
index 7e4b19f54e294801f8794835a95274174a7cdcc7..b020a85b982e6de4462959194457a59fee5dd3b6 100644 (file)
@@ -3,7 +3,7 @@
 #  \r
 #  This module provides DPC service by consuming EFI DPC Protocol.\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -43,5 +43,5 @@
 [Protocols]\r
   gEfiDpcProtocolGuid                  # PROTOCOL ALWAYS_CONSUMED\r
 \r
-[Depex]\r
-  gEfiDpcProtocolGuid
\ No newline at end of file
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r
+  gEfiDpcProtocolGuid\r
index 92c46e7b84948b544c52455747b1c647bfe593aa..5195d012738d91e0b369411be9256ba5b2c074d7 100644 (file)
@@ -2,7 +2,7 @@
 #  Library instance that implements Print Library class based on protocol\r
 #  gEfiPrint2ProtocolGuid.\r
 #\r
-#  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -47,5 +47,5 @@
 [Protocols]\r
   gEfiPrint2ProtocolGuid                         ## CONSUMES\r
 \r
-[Depex]\r
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r
   gEfiPrint2ProtocolGuid\r
index 5ba86e44f322ca35875f51d90d6cfa4cc378b0b0..997187c38ff40fb2d27f4e895bd371994d7718e3 100644 (file)
@@ -57,5 +57,5 @@
 [Pcd]\r
   gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r
 \r
-[Depex]\r
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER]\r
   gEfiSmmCommunicationProtocolGuid\r
index e5ec8c94bc82a006554e30159a41fd802535286b..272f6c1595ea655aa365aa8814546f39c53b7387 100644 (file)
@@ -40,5 +40,5 @@
 [Protocols]\r
   gEfiExtendedSalBootServiceProtocolGuid        # PROTOCOL ALWAYS_CONSUMED\r
 \r
-[Depex]\r
+[Depex.common.DXE_DRIVER]\r
   gEfiExtendedSalBootServiceProtocolGuid\r
index 4c0abbc4d6bd3c26d99816696031f324765f7685..c60759d452c111129ba73dfbc8436724ca8935bd 100644 (file)
@@ -35,5 +35,5 @@
 [LibraryClasses]\r
   ExtendedSalLib\r
 \r
-[Depex]\r
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r
   gEfiExtendedSalPalServicesProtocolGuid\r
index 893609070d66c40e2f3501da396f78d4033690b2..db06967c9a059181871ce46ae19612b16829b67e 100644 (file)
@@ -13,7 +13,7 @@
 # This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use\r
 # EFI_PCD_PROTOCOL to handle dynamicEx type PCD.\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -54,7 +54,7 @@
 [Protocols]\r
   gPcdProtocolGuid                              ## CONSUMES\r
   gEfiPcdProtocolGuid                           ## CONSUMES\r
-  \r
-[Depex]\r
+\r
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r
   gEfiPcdProtocolGuid\r
 \r
index df7ca5daf59ea8121fea2c61e9fba4d7b5a05a43..8e1cdf533de23dcde24c7c76e4b247198a29f296 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # SMBUS Library that layers on top of the SMBUS Protocol.\r
 #\r
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -45,5 +45,5 @@
 [Protocols]\r
   gEfiSmbusHcProtocolGuid                        ## CONSUMES\r
 \r
-[Depex]\r
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r
   gEfiSmbusHcProtocolGuid\r
index beb6a5ba772b736e0b8672e73d83e0fea162dbca..c018b455b7178f6af91fecd38b7f9ddd564997d2 100644 (file)
@@ -4,7 +4,7 @@
 # I/O Library implementation that uses the CPU I/O PPI for I/O\r
 #  and MMIO operations.\r
 #\r
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -42,5 +42,5 @@
   BaseLib\r
   DebugLib\r
 \r
-[Depex]\r
+[Depex.common.PEIM]\r
   gEfiPeiCpuIoPpiInstalledGuid\r
index 84f1a91d7feea6a9e553fb56c2bd2920948a9df7..814c8f6a9bc6f3a0c632d0f6a6242ad868b2b793 100644 (file)
@@ -15,7 +15,7 @@
 #\r
 # PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -58,6 +58,6 @@
   gPcdPpiGuid                                   ## CONSUMES\r
   gEfiPeiPcdPpiGuid                             ## CONSUMES\r
   \r
-[depex]\r
+[Depex.common.PEIM]\r
   gEfiPeiPcdPpiGuid\r
   
\ No newline at end of file
index de1a0ef6301dcdf56bf991291493dd0163fc2421..8e74d87266c72cc0bfd74bb9e8d8276ebcf337d1 100644 (file)
@@ -7,7 +7,7 @@
 #  the first PPI found, so this library instance should only be used platforms\r
 #  with a single PCI segment.\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -50,5 +50,5 @@
 [Ppis]\r
   gEfiPciCfg2PpiGuid                            ## CONSUMES\r
 \r
-[Depex]\r
+[Depex.common.PEIM]\r
   gEfiPciCfg2PpiGuid\r
index 615de88408f1557077010090f688dd294ac10dc5..a0ea76b6541a1a1ed95f0f1c4d015f607632224d 100644 (file)
@@ -6,7 +6,7 @@
 #  EFI_PEI_PCI CFG2 PPIs are typically produced by a chipset specific PEIM.\r
 #  This library instance should only be used platforms with multiple PCI segments.\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -47,6 +47,6 @@
 [Ppis]\r
   gEfiPciCfg2PpiGuid                            ##  CONSUMES\r
 \r
-[Depex]\r
+[Depex.common.PEIM]\r
   gEfiPciCfg2PpiGuid\r
 \r
index ac39e5d3765378d2250612a15567a0e14eede4d7..958439e7d76b3a3901cf1834245b4ab0f278cd7c 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
-# SMBUS library that layers on top of the SMBUS PPI.\r
+# SMBUS library that layers on top of the SMBUS2 PPI.\r
 #\r
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -44,5 +44,5 @@
 [Ppis]\r
   gEfiPeiSmbus2PpiGuid                           ## CONSUMES\r
 \r
-[Depex]\r
+[Depex.common.PEIM]\r
   gEfiPeiSmbus2PpiGuid \r
index 0d484ccd9407f768652ac2eefd687962e6643e5d..4310fe085cbaffdb9726c3f7f2f90e41917efebd 100644 (file)
@@ -3,7 +3,7 @@
 #\r
 # I/O Library implementation that uses the CPU I/O Protocol for I/O\r
 #  and MMIO operations.\r
-# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -46,5 +46,5 @@
 [Protocols]\r
   gEfiSmmCpuIo2ProtocolGuid                         ## CONSUMES\r
 \r
-[Depex]\r
+[Depex.common.DXE_SMM_DRIVER]\r
   gEfiSmmCpuIo2ProtocolGuid\r
index ddf28e74fc2ad9b9dd1c3b1b8dc78c75a463c2ea..f9cbfb80a1dc11e17291aa6279410ece8a1890f9 100644 (file)
@@ -7,7 +7,7 @@
 #  This library binds to the first PCI Root Bridge I/O Protocol in the platform. As a result,\r
 #  it should only be used on platforms that contain a single PCI root bridge.\r
 #\r
-# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -49,5 +49,5 @@
 [Protocols]\r
   gEfiSmmPciRootBridgeIoProtocolGuid               ## CONSUMES\r
   \r
-[Depex]\r
+[Depex.common.DXE_SMM_DRIVER]\r
   gEfiSmmPciRootBridgeIoProtocolGuid\r
index ad62d90917532d96ef82235c122cb43f917e69b3..3393830d60401ba1078a728ae2e84347d09aaf02 100644 (file)
@@ -4,7 +4,7 @@
 #  Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol.\r
 #  This library is not available for EFI 1.10 modules.\r
 #\r
-#  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -50,5 +50,5 @@
   gEfiDevicePathProtocolGuid                    ## CONSUMES\r
   gEfiDevicePathUtilitiesProtocolGuid           ## CONSUMES\r
 \r
-[Depex]\r
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r
   gEfiDevicePathUtilitiesProtocolGuid\r
index b6cfe67b3e0f20ca888a471521a1e822d30d7632..d07a7c9f4761b72bdce26048e86a7a0a43037a5b 100644 (file)
@@ -7,7 +7,7 @@
 #  This library binds to the first PCI Root Bridge I/O Protocol in the platform. As a result,\r
 #  it should only be used on platforms that contain a single PCI root bridge.\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -51,5 +51,5 @@
 [Protocols]\r
   gEfiPciRootBridgeIoProtocolGuid               ## CONSUMES\r
 \r
-[Depex]\r
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r
   gEfiPciRootBridgeIoProtocolGuid\r
index cd2f8194f0efe08c2b59d0a0ada3c47abe27d1de..8c0aff1f52443f98d0f99f46f7c33446252c0ad8 100644 (file)
@@ -7,7 +7,7 @@
 #  This library binds to all of the PCI Root Bridge I/O Protocols in the platform and handles\r
 #  the translation from a PCI segment number into a specific PCI Root Bridge I/O Protocol.\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -54,5 +54,5 @@
 [Protocols]\r
   gEfiPciRootBridgeIoProtocolGuid               ## CONSUMES\r
 \r
-[Depex]\r
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r
   gEfiPciRootBridgeIoProtocolGuid\r