ead42efc |
1 | #/** @file\r |
2 | # Component description file for PciBus module.\r |
3 | #\r |
4 | # PCI bus driver. This module will probe all PCI devices and allocate MMIO and IO\r |
5 | # space for these devices. Please use PCD feature flag PcdPciBusHotplugDeviceSupport to enable\r |
6 | # support hot plug.\r |
7 | # Copyright (c) 2006 - 2007, Intel Corporation\r |
8 | #\r |
9 | # All rights reserved. This program and the accompanying materials\r |
10 | # are licensed and made available under the terms and conditions of the BSD License\r |
11 | # which accompanies this distribution. The full text of the license may be found at\r |
12 | # http://opensource.org/licenses/bsd-license.php\r |
13 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
14 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
15 | #\r |
16 | #\r |
17 | #**/\r |
18 | \r |
19 | ################################################################################\r |
20 | #\r |
21 | # Defines Section - statements that will be processed to create a Makefile.\r |
22 | #\r |
23 | ################################################################################\r |
24 | [Defines]\r |
25 | INF_VERSION = 0x00010005\r |
26 | BASE_NAME = PciBus\r |
27 | FILE_GUID = 93B80004-9FB3-11d4-9A3A-0090273FC14D\r |
28 | MODULE_TYPE = DXE_DRIVER\r |
29 | VERSION_STRING = 1.0\r |
30 | EDK_RELEASE_VERSION = 0x00020000\r |
31 | EFI_SPECIFICATION_VERSION = 0x00020000\r |
32 | \r |
33 | ENTRY_POINT = PciBusEntryPoint\r |
34 | \r |
35 | #\r |
36 | # The following information is for reference only and not required by the build tools.\r |
37 | #\r |
38 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r |
39 | #\r |
40 | # DRIVER_BINDING = gPciBusDriverBinding \r |
41 | # COMPONENT_NAME = gPciBusComponentName \r |
42 | #\r |
43 | \r |
44 | ################################################################################\r |
45 | #\r |
46 | # Sources Section - list of files that are required for the build to succeed.\r |
47 | #\r |
48 | ################################################################################\r |
49 | \r |
50 | [Sources.common]\r |
51 | PciLib.c\r |
52 | PciIo.c\r |
53 | pcibus.c\r |
54 | PciDeviceSupport.c\r |
55 | ComponentName.c\r |
56 | ComponentName.h\r |
57 | PciCommand.c\r |
58 | PciResourceSupport.c\r |
59 | PciEnumeratorSupport.c\r |
60 | PciEnumerator.c\r |
61 | PciOptionRomSupport.c\r |
62 | PciDriverOverride.c\r |
63 | PciPowerManagement.c\r |
64 | PciPowerManagement.h\r |
65 | PciDriverOverride.h\r |
66 | PciRomTable.c\r |
67 | PciHotPlugSupport.c\r |
68 | PciLib.h\r |
69 | PciHotPlugSupport.h\r |
70 | PciRomTable.h\r |
71 | PciOptionRomSupport.h\r |
72 | PciEnumeratorSupport.h\r |
73 | PciEnumerator.h\r |
74 | PciResourceSupport.h\r |
75 | PciDeviceSupport.h\r |
76 | PciCommand.h\r |
77 | PciIo.h\r |
78 | pcibus.h\r |
79 | \r |
80 | [Includes]\r |
81 | IntelFrameworkModulePkg/Include\r |
82 | \r |
83 | ################################################################################\r |
84 | #\r |
85 | # Package Dependency Section - list of Package files that are required for\r |
86 | # this module.\r |
87 | #\r |
88 | ################################################################################\r |
89 | \r |
90 | [Packages]\r |
91 | MdePkg/MdePkg.dec\r |
92 | MdeModulePkg/MdeModulePkg.dec\r |
93 | IntelFrameworkPkg/IntelFrameworkPkg.dec\r |
94 | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r |
95 | \r |
96 | \r |
97 | \r |
98 | ################################################################################\r |
99 | #\r |
100 | # Library Class Section - list of Library Classes that are required for\r |
101 | # this module.\r |
102 | #\r |
103 | ################################################################################\r |
104 | \r |
105 | [LibraryClasses]\r |
106 | PciIncompatibleDeviceSupportLib\r |
107 | PcdLib\r |
108 | DevicePathLib\r |
109 | UefiBootServicesTableLib\r |
110 | MemoryAllocationLib\r |
111 | ReportStatusCodeLib\r |
112 | BaseMemoryLib\r |
113 | UefiLib\r |
114 | BaseLib\r |
115 | UefiDriverEntryPoint\r |
116 | DebugLib\r |
117 | \r |
118 | \r |
119 | ################################################################################\r |
120 | #\r |
121 | # Guid C Name Section - list of Guids that this module uses or produces.\r |
122 | #\r |
123 | ################################################################################\r |
124 | \r |
125 | [Guids]\r |
126 | gEfiPciOptionRomTableGuid # SOMETIMES_CONSUMED System Table\r |
127 | gEfiUgaIoProtocolGuid # ALWAYS_CONSUMED System Table\r |
128 | gEfiPciHotplugDeviceGuid # PRIVATE\r |
129 | gEfiPciOptionRomTableGuid # SOMETIMES_CONSUMED\r |
130 | \r |
131 | \r |
132 | ################################################################################\r |
133 | #\r |
134 | # Protocol C Name Section - list of Protocol and Protocol Notify C Names\r |
135 | # that this module uses or produces.\r |
136 | #\r |
137 | ################################################################################\r |
138 | \r |
139 | [Protocols]\r |
140 | gEfiPciHotPlugRequestProtocolGuid # PROTOCOL ALWAYS_PRODUCED\r |
141 | gEfiBusSpecificDriverOverrideProtocolGuid # PROTOCOL BY_START\r |
142 | gEfiPciIoProtocolGuid # PROTOCOL BY_START\r |
143 | gEfiLoadedImageProtocolGuid # PROTOCOL TO_START\r |
144 | gEfiDecompressProtocolGuid # PROTOCOL TO_START\r |
145 | gEfiPciHotPlugInitProtocolGuid # PROTOCOL TO_START\r |
146 | gEfiPciHostBridgeResourceAllocationProtocolGuid # PROTOCOL TO_START\r |
147 | gEfiPciPlatformProtocolGuid # PROTOCOL TO_START\r |
148 | gEfiPciRootBridgeIoProtocolGuid # PROTOCOL TO_START\r |
149 | gEfiDevicePathProtocolGuid # PROTOCOL TO_START\r |
150 | \r |
151 | \r |
152 | ################################################################################\r |
153 | #\r |
154 | # Pcd FEATURE_FLAG - list of PCDs that this module is coded for.\r |
155 | #\r |
156 | ################################################################################\r |
157 | \r |
158 | [PcdsFeatureFlag.common]\r |
159 | PcdPciVgaEnable|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r |
160 | PcdPciBusHotplugDeviceSupport|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r |
161 | PcdPciIsaEnable|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r |
162 | \r |
163 | \r |
164 | ################################################################################\r |
165 | #\r |
166 | # Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.\r |
167 | #\r |
168 | ################################################################################\r |
169 | \r |
170 | [PcdsFixedAtBuild.common]\r |
171 | PcdPciIncompatibleDeviceSupportMask|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r |
172 | \r |