For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section.
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
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# I/O Library implementation that uses the CPU I/O Protocol for I/O
|
# I/O Library implementation that uses the CPU I/O Protocol for I/O
|
||||||
# and MMIO operations.
|
# and MMIO operations.
|
||||||
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2006 - 2011, 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,5 +48,5 @@
|
|||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiCpuIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiCpuIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiCpuIoProtocolGuid
|
gEfiCpuIoProtocolGuid
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# This module provides DPC service by consuming EFI DPC Protocol.
|
# This module provides DPC service by consuming EFI DPC Protocol.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2011, 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
|
||||||
# which accompanies this distribution. The full text of the license may be found at
|
# which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -43,5 +43,5 @@
|
|||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiDpcProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiDpcProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiDpcProtocolGuid
|
gEfiDpcProtocolGuid
|
@ -2,7 +2,7 @@
|
|||||||
# Library instance that implements Print Library class based on protocol
|
# Library instance that implements Print Library class based on protocol
|
||||||
# gEfiPrint2ProtocolGuid.
|
# gEfiPrint2ProtocolGuid.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2009 - 2011, 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
|
||||||
@ -47,5 +47,5 @@
|
|||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiPrint2ProtocolGuid ## CONSUMES
|
gEfiPrint2ProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiPrint2ProtocolGuid
|
gEfiPrint2ProtocolGuid
|
||||||
|
@ -57,5 +57,5 @@
|
|||||||
[Pcd]
|
[Pcd]
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask
|
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER]
|
||||||
gEfiSmmCommunicationProtocolGuid
|
gEfiSmmCommunicationProtocolGuid
|
||||||
|
@ -40,5 +40,5 @@
|
|||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiExtendedSalBootServiceProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiExtendedSalBootServiceProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER]
|
||||||
gEfiExtendedSalBootServiceProtocolGuid
|
gEfiExtendedSalBootServiceProtocolGuid
|
||||||
|
@ -35,5 +35,5 @@
|
|||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
ExtendedSalLib
|
ExtendedSalLib
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiExtendedSalPalServicesProtocolGuid
|
gEfiExtendedSalPalServicesProtocolGuid
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use
|
# This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use
|
||||||
# EFI_PCD_PROTOCOL to handle dynamicEx type PCD.
|
# EFI_PCD_PROTOCOL to handle dynamicEx type PCD.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2011, 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
|
||||||
@ -55,6 +55,6 @@
|
|||||||
gPcdProtocolGuid ## CONSUMES
|
gPcdProtocolGuid ## CONSUMES
|
||||||
gEfiPcdProtocolGuid ## CONSUMES
|
gEfiPcdProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiPcdProtocolGuid
|
gEfiPcdProtocolGuid
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## @file
|
## @file
|
||||||
# SMBUS Library that layers on top of the SMBUS Protocol.
|
# SMBUS Library that layers on top of the SMBUS Protocol.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2006 - 2011, 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
|
||||||
@ -45,5 +45,5 @@
|
|||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiSmbusHcProtocolGuid ## CONSUMES
|
gEfiSmbusHcProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiSmbusHcProtocolGuid
|
gEfiSmbusHcProtocolGuid
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# I/O Library implementation that uses the CPU I/O PPI for I/O
|
# I/O Library implementation that uses the CPU I/O PPI for I/O
|
||||||
# and MMIO operations.
|
# and MMIO operations.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2006 - 2011, 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,5 +42,5 @@
|
|||||||
BaseLib
|
BaseLib
|
||||||
DebugLib
|
DebugLib
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.PEIM]
|
||||||
gEfiPeiCpuIoPpiInstalledGuid
|
gEfiPeiCpuIoPpiInstalledGuid
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#
|
#
|
||||||
# PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries
|
# PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2011, 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,6 @@
|
|||||||
gPcdPpiGuid ## CONSUMES
|
gPcdPpiGuid ## CONSUMES
|
||||||
gEfiPeiPcdPpiGuid ## CONSUMES
|
gEfiPeiPcdPpiGuid ## CONSUMES
|
||||||
|
|
||||||
[depex]
|
[Depex.common.PEIM]
|
||||||
gEfiPeiPcdPpiGuid
|
gEfiPeiPcdPpiGuid
|
||||||
|
|
@ -7,7 +7,7 @@
|
|||||||
# the first PPI found, so this library instance should only be used platforms
|
# the first PPI found, so this library instance should only be used platforms
|
||||||
# with a single PCI segment.
|
# with a single PCI segment.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2011, 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
|
||||||
@ -50,5 +50,5 @@
|
|||||||
[Ppis]
|
[Ppis]
|
||||||
gEfiPciCfg2PpiGuid ## CONSUMES
|
gEfiPciCfg2PpiGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.PEIM]
|
||||||
gEfiPciCfg2PpiGuid
|
gEfiPciCfg2PpiGuid
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# EFI_PEI_PCI CFG2 PPIs are typically produced by a chipset specific PEIM.
|
# EFI_PEI_PCI CFG2 PPIs are typically produced by a chipset specific PEIM.
|
||||||
# This library instance should only be used platforms with multiple PCI segments.
|
# This library instance should only be used platforms with multiple PCI segments.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2011, 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
|
||||||
@ -47,6 +47,6 @@
|
|||||||
[Ppis]
|
[Ppis]
|
||||||
gEfiPciCfg2PpiGuid ## CONSUMES
|
gEfiPciCfg2PpiGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.PEIM]
|
||||||
gEfiPciCfg2PpiGuid
|
gEfiPciCfg2PpiGuid
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## @file
|
## @file
|
||||||
# SMBUS library that layers on top of the SMBUS PPI.
|
# SMBUS library that layers on top of the SMBUS2 PPI.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2006 - 2011, 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,5 +44,5 @@
|
|||||||
[Ppis]
|
[Ppis]
|
||||||
gEfiPeiSmbus2PpiGuid ## CONSUMES
|
gEfiPeiSmbus2PpiGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.PEIM]
|
||||||
gEfiPeiSmbus2PpiGuid
|
gEfiPeiSmbus2PpiGuid
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# I/O Library implementation that uses the CPU I/O Protocol for I/O
|
# I/O Library implementation that uses the CPU I/O Protocol for I/O
|
||||||
# and MMIO operations.
|
# and MMIO operations.
|
||||||
# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2009 - 2011, 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,5 +46,5 @@
|
|||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiSmmCpuIo2ProtocolGuid ## CONSUMES
|
gEfiSmmCpuIo2ProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiSmmCpuIo2ProtocolGuid
|
gEfiSmmCpuIo2ProtocolGuid
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# This library binds to the first PCI Root Bridge I/O Protocol in the platform. As a result,
|
# This library binds to the first PCI Root Bridge I/O Protocol in the platform. As a result,
|
||||||
# it should only be used on platforms that contain a single PCI root bridge.
|
# it should only be used on platforms that contain a single PCI root bridge.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2009 - 2011, 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,5 +49,5 @@
|
|||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiSmmPciRootBridgeIoProtocolGuid ## CONSUMES
|
gEfiSmmPciRootBridgeIoProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiSmmPciRootBridgeIoProtocolGuid
|
gEfiSmmPciRootBridgeIoProtocolGuid
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol.
|
# Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol.
|
||||||
# This library is not available for EFI 1.10 modules.
|
# This library is not available for EFI 1.10 modules.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2011, 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
|
||||||
@ -50,5 +50,5 @@
|
|||||||
gEfiDevicePathProtocolGuid ## CONSUMES
|
gEfiDevicePathProtocolGuid ## CONSUMES
|
||||||
gEfiDevicePathUtilitiesProtocolGuid ## CONSUMES
|
gEfiDevicePathUtilitiesProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiDevicePathUtilitiesProtocolGuid
|
gEfiDevicePathUtilitiesProtocolGuid
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# This library binds to the first PCI Root Bridge I/O Protocol in the platform. As a result,
|
# This library binds to the first PCI Root Bridge I/O Protocol in the platform. As a result,
|
||||||
# it should only be used on platforms that contain a single PCI root bridge.
|
# it should only be used on platforms that contain a single PCI root bridge.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2011, 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
|
||||||
@ -51,5 +51,5 @@
|
|||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
|
gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiPciRootBridgeIoProtocolGuid
|
gEfiPciRootBridgeIoProtocolGuid
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# This library binds to all of the PCI Root Bridge I/O Protocols in the platform and handles
|
# This library binds to all of the PCI Root Bridge I/O Protocols in the platform and handles
|
||||||
# the translation from a PCI segment number into a specific PCI Root Bridge I/O Protocol.
|
# the translation from a PCI segment number into a specific PCI Root Bridge I/O Protocol.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2011, 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
|
||||||
@ -54,5 +54,5 @@
|
|||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
|
gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||||
gEfiPciRootBridgeIoProtocolGuid
|
gEfiPciRootBridgeIoProtocolGuid
|
||||||
|
Reference in New Issue
Block a user