mirror of https://github.com/acidanthera/audk.git
Add missing dependency expression for some library instances in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9891 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9fddf05b7e
commit
a0720bb82b
|
@ -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 - 2008, Intel Corporation.
|
# Copyright (c) 2007 - 2010, Intel Corporation.
|
||||||
#
|
#
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. 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,3 +51,5 @@
|
||||||
[Ppis]
|
[Ppis]
|
||||||
gEfiPciCfg2PpiGuid ## CONSUMES
|
gEfiPciCfg2PpiGuid ## CONSUMES
|
||||||
|
|
||||||
|
[Depex]
|
||||||
|
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 - 2008, Intel Corporation.
|
# Copyright (c) 2007 - 2010, Intel Corporation.
|
||||||
#
|
#
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. 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,3 +49,6 @@
|
||||||
[Ppis]
|
[Ppis]
|
||||||
gEfiPciCfg2PpiGuid ## CONSUMES
|
gEfiPciCfg2PpiGuid ## CONSUMES
|
||||||
|
|
||||||
|
[Depex]
|
||||||
|
gEfiPciCfg2PpiGuid
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# This instance of PAL library retrieves the PAL Entry Point from the SAL System Table
|
# This instance of PAL library retrieves the PAL Entry Point from the SAL System Table
|
||||||
# register in the EFI System Confguration Table.
|
# register in the EFI System Confguration Table.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2009, Intel Corporation.
|
# Copyright (c) 2007 - 2010, Intel Corporation.
|
||||||
#
|
#
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. 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
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
# VALID_ARCHITECTURES = IPF
|
# VALID_ARCHITECTURES = IPF
|
||||||
#
|
#
|
||||||
|
|
||||||
[Sources.IPF]
|
[Sources]
|
||||||
UefiPalLib.c
|
UefiPalLib.c
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
|
|
|
@ -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 - 2008, Intel Corporation.
|
# Copyright (c) 2007 - 2010, Intel Corporation.
|
||||||
#
|
#
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. 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,3 +51,5 @@
|
||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
|
gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
|
[Depex]
|
||||||
|
gEfiPciRootBridgeIoProtocolGuid
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
PCI Segment Library implementation using PCI Root Bridge I/O Protocol.
|
PCI Segment Library implementation using PCI Root Bridge I/O Protocol.
|
||||||
|
|
||||||
Copyright (c) 2007 - 2009, Intel Corporation All rights
|
Copyright (c) 2007 - 2010, Intel Corporation All rights
|
||||||
reserved. This program and the accompanying materials are
|
reserved. This program and the accompanying materials are
|
||||||
licensed and made available under the terms and conditions of
|
licensed and made available under the terms and conditions of
|
||||||
the BSD License which accompanies this distribution. The full
|
the BSD License which accompanies this distribution. The full
|
||||||
|
@ -16,13 +16,13 @@
|
||||||
#include "PciSegmentLib.h"
|
#include "PciSegmentLib.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// Global varible to record data of PCI Root Bridge I/O Protcol instances
|
// Global variable to record data of PCI Root Bridge I/O Protocol instances
|
||||||
//
|
//
|
||||||
PCI_ROOT_BRIDGE_DATA *mPciRootBridgeData = NULL;
|
PCI_ROOT_BRIDGE_DATA *mPciRootBridgeData = NULL;
|
||||||
UINTN mNumberOfPciRootBridges = 0;
|
UINTN mNumberOfPciRootBridges = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The constructor function caches data of PCI Root Bridge I/O Protcol instances.
|
The constructor function caches data of PCI Root Bridge I/O Protocol instances.
|
||||||
|
|
||||||
The constructor function locates PCI Root Bridge I/O protocol instances,
|
The constructor function locates PCI Root Bridge I/O protocol instances,
|
||||||
and caches the protocol instances, together with their segment numbers and bus ranges.
|
and caches the protocol instances, together with their segment numbers and bus ranges.
|
||||||
|
|
|
@ -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 - 2008, Intel Corporation.
|
# Copyright (c) 2007 - 2010, Intel Corporation.
|
||||||
#
|
#
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. 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,3 +54,5 @@
|
||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
|
gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
|
[Depex]
|
||||||
|
gEfiPciRootBridgeIoProtocolGuid
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/** @file
|
/** @file
|
||||||
SAL Library implementation retrieving the SAL Entry Point from the SAL System Table
|
SAL Library implementation retrieving the SAL Entry Point from the SAL System Table
|
||||||
register in the EFI System Confguration Table.
|
register in the EFI System Configuration Table.
|
||||||
|
|
||||||
Copyright (c) 2007 - 2008, Intel Corporation All rights
|
Copyright (c) 2007 - 2010, Intel Corporation All rights
|
||||||
reserved. This program and the accompanying materials are
|
reserved. This program and the accompanying materials are
|
||||||
licensed and made available under the terms and conditions of
|
licensed and made available under the terms and conditions of
|
||||||
the BSD License which accompanies this distribution. The full
|
the BSD License which accompanies this distribution. The full
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# This instance of SAL library retrieves the SAL Entry Point from the SAL System Table
|
# This instance of SAL library retrieves the SAL Entry Point from the SAL System Table
|
||||||
# register in the EFI System Confguration Table.
|
# register in the EFI System Confguration Table.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2008, Intel Corporation.
|
# Copyright (c) 2007 - 2010, Intel Corporation.
|
||||||
#
|
#
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. 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
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
# VALID_ARCHITECTURES = IPF
|
# VALID_ARCHITECTURES = IPF
|
||||||
#
|
#
|
||||||
|
|
||||||
[Sources.IPF]
|
[Sources]
|
||||||
UefiSalLib.c
|
UefiSalLib.c
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
|
@ -40,3 +40,6 @@
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
UefiLib
|
UefiLib
|
||||||
DebugLib
|
DebugLib
|
||||||
|
|
||||||
|
[Guids]
|
||||||
|
gEfiSalSystemTableGuid ## CONSUMES ## GUID
|
||||||
|
|
Loading…
Reference in New Issue