]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.h
Fixed EDKT484 and rewrite the output message when no arch is found.
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / PciBus / Dxe / PciLib.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 PciLib.h\r
15 \r
16Abstract:\r
17\r
18 PCI Bus Driver Lib header file\r
19 It abstracts some functions that can be different \r
20 between light PCI bus driver and full PCI bus driver\r
21\r
22Revision History\r
23\r
24--*/\r
25\r
26#ifndef _EFI_PCI_LIB_H\r
27#define _EFI_PCI_LIB_H\r
28\r
29VOID\r
30InstallHotPlugRequestProtocol (\r
31 IN EFI_STATUS *Status\r
32 )\r
33/*++\r
34\r
35Routine Description:\r
36\r
37 TODO: Add function description\r
38\r
39Arguments:\r
40\r
41 Status - TODO: add argument description\r
42\r
43Returns:\r
44\r
45 TODO: add return values\r
46\r
47--*/\r
48;\r
49\r
50VOID\r
51InstallPciHotplugGuid (\r
52 IN PCI_IO_DEVICE *PciIoDevice\r
53 )\r
54/*++\r
55\r
56Routine Description:\r
57\r
58 TODO: Add function description\r
59\r
60Arguments:\r
61\r
62 PciIoDevice - TODO: add argument description\r
63\r
64Returns:\r
65\r
66 TODO: add return values\r
67\r
68--*/\r
69;\r
70\r
71VOID\r
72UninstallPciHotplugGuid (\r
73 IN PCI_IO_DEVICE *PciIoDevice\r
74 )\r
75/*++\r
76\r
77Routine Description:\r
78\r
79 TODO: Add function description\r
80\r
81Arguments:\r
82\r
83 PciIoDevice - TODO: add argument description\r
84\r
85Returns:\r
86\r
87 TODO: add return values\r
88\r
89--*/\r
90;\r
91\r
92VOID\r
93GetBackPcCardBar (\r
94 IN PCI_IO_DEVICE *PciIoDevice\r
95 )\r
96/*++\r
97\r
98Routine Description:\r
99\r
100 TODO: Add function description\r
101\r
102Arguments:\r
103\r
104 PciIoDevice - TODO: add argument description\r
105\r
106Returns:\r
107\r
108 TODO: add return values\r
109\r
110--*/\r
111;\r
112\r
113EFI_STATUS\r
114RemoveRejectedPciDevices (\r
115 EFI_HANDLE RootBridgeHandle,\r
116 IN PCI_IO_DEVICE *Bridge\r
117 )\r
118/*++\r
119\r
120Routine Description:\r
121\r
122 TODO: Add function description\r
123\r
124Arguments:\r
125\r
126 RootBridgeHandle - TODO: add argument description\r
127 Bridge - TODO: add argument description\r
128\r
129Returns:\r
130\r
131 TODO: add return values\r
132\r
133--*/\r
134;\r
135\r
136EFI_STATUS\r
137PciHostBridgeResourceAllocator (\r
138 IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc\r
139 )\r
140/*++\r
141\r
142Routine Description:\r
143\r
144 TODO: Add function description\r
145\r
146Arguments:\r
147\r
148 PciResAlloc - TODO: add argument description\r
149\r
150Returns:\r
151\r
152 TODO: add return values\r
153\r
154--*/\r
155;\r
156\r
157EFI_STATUS\r
158PciScanBus (\r
159 IN PCI_IO_DEVICE *Bridge,\r
160 IN UINT8 StartBusNumber,\r
161 OUT UINT8 *SubBusNumber,\r
162 OUT UINT8 *PaddedBusRange\r
163 )\r
164/*++\r
165\r
166Routine Description:\r
167\r
168 TODO: Add function description\r
169\r
170Arguments:\r
171\r
172 Bridge - TODO: add argument description\r
173 StartBusNumber - TODO: add argument description\r
174 SubBusNumber - TODO: add argument description\r
175 PaddedBusRange - TODO: add argument description\r
176\r
177Returns:\r
178\r
179 TODO: add return values\r
180\r
181--*/\r
182;\r
183\r
184EFI_STATUS\r
185PciRootBridgeP2CProcess (\r
186 IN PCI_IO_DEVICE *Bridge\r
187 )\r
188/*++\r
189\r
190Routine Description:\r
191\r
192 TODO: Add function description\r
193\r
194Arguments:\r
195\r
196 Bridge - TODO: add argument description\r
197\r
198Returns:\r
199\r
200 TODO: add return values\r
201\r
202--*/\r
203;\r
204\r
205EFI_STATUS\r
206PciHostBridgeP2CProcess (\r
207 IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc\r
208 )\r
209/*++\r
210\r
211Routine Description:\r
212\r
213 TODO: Add function description\r
214\r
215Arguments:\r
216\r
217 PciResAlloc - TODO: add argument description\r
218\r
219Returns:\r
220\r
221 TODO: add return values\r
222\r
223--*/\r
224;\r
225\r
226EFI_STATUS\r
227PciHostBridgeEnumerator (\r
228 EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc\r
229 )\r
230/*++\r
231\r
232Routine Description:\r
233\r
234 TODO: Add function description\r
235\r
236Arguments:\r
237\r
238 PciResAlloc - TODO: add argument description\r
239\r
240Returns:\r
241\r
242 TODO: add return values\r
243\r
244--*/\r
245;\r
246\r
247#endif\r