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