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