]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Compatibility/PciCfg2ToPciCfgThunk/PciCfg2ToPciCfgThunk.inf
1) Add in Doxygen comment.
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / PciCfg2ToPciCfgThunk / PciCfg2ToPciCfgThunk.inf
1 #/** @file
2 # Module produces PciCfgPpi2 on top of PciCfgPpi. It also updates the
3 # PciCfg2Ppi pointer in the EFI_PEI_SERVICES upon a installation of
4 # EcpPeiPciCfgPpi. EcpPeiPciCfgPpi is installed in a framework module which
5 # produce PciCfgPpi originally. This framework module is updated based on the
6 # following rule:
7 # Search pattern:
8 # PeiServices->PciCfg = <*>;
9 # Replace pattern:
10 # {
11 # static EFI_PEI_PPI_DESCRIPTOR gEcpPeiPciCfgPpiList = {
12 # (EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
13 # &gEcpPeiPciCfgPpiGuid,
14 # <*>
15 # };
16 # (**PeiServices).InstallPpi (PeiServices, gEcpPeiPciCfgPpiList);
17 # }
18
19 # PIWG's PI specification replaces Inte's EFI Specification 1.10.
20 # EFI_PEI_PCI_CFG_PPI defined in Inte's EFI Specification 1.10 is replaced by
21 # EFI_PEI_PCI_CFG2_PPI in PI 1.0.
22 # This module produces PciCfgPpi on top of PciCfgPpi2. This module is used on platform when both of
23 # these two conditions are true:
24 # 1) Framework module present that produces PCI CFG PPI AND
25 # 2) PI module that produces PCI CFG2 is not present
26
27 #
28 # PEIM to provide the Variable functionality.
29 # Copyright (c) 2006 - 2007, Intel Corporation
30 #
31 # All rights reserved. This program and the accompanying materials
32 # are licensed and made available under the terms and conditions of the BSD License
33 # which accompanies this distribution. The full text of the license may be found at
34 # http://opensource.org/licenses/bsd-license.php
35 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
36 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
37 #
38 #
39 #**/
40
41 [Defines]
42 INF_VERSION = 0x00010005
43 BASE_NAME = PciCfg2ToPciCfgThunk
44 FILE_GUID = 41401688-2862-431b-BAAC-6ECADAC384AB
45 MODULE_TYPE = PEIM
46 VERSION_STRING = 1.0
47 EDK_RELEASE_VERSION = 0x00020000
48 EFI_SPECIFICATION_VERSION = 0x00020000
49
50 ENTRY_POINT = PeimInitializePciCfg2
51
52 #
53 # The following information is for reference only and not required by the build tools.
54 #
55 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
56 #
57
58 [Sources.common]
59 PciCfg2ToPciCfgThunk.c
60
61 [Packages]
62 MdePkg/MdePkg.dec
63 IntelFrameworkPkg/IntelFrameworkPkg.dec
64 EdkCompatibilityPkg/EdkCompatibilityPkg.dec
65
66 [LibraryClasses]
67 PeimEntryPoint
68 DebugLib
69
70 [Ppis]
71 gEfiPciCfgPpiInServiceTableGuid
72 gEfiPciCfg2PpiGuid
73 gEcpPeiPciCfgPpiGuid
74
75 [Depex]
76 TRUE