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
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.
24 #ifndef _EFI_PCI_HOT_PLUG_SUPPORT_H
25 #define _EFI_PCI_HOT_PLUG_SUPPORT_H
30 #define STALL_1_MILLI_SECOND 1000
35 #define STALL_1_SECOND 1000000
43 extern EFI_PCI_HOT_PLUG_INIT_PROTOCOL
*gPciHotPlugInit
;
44 extern EFI_HPC_LOCATION
*gPciRootHpcPool
;
45 extern UINTN gPciRootHpcCount
;
46 extern ROOT_HPC_DATA
*gPciRootHpcData
;
58 TODO: Add function description
62 Event - TODO: add argument description
63 Context - TODO: add argument description
67 TODO: add return values
73 EfiCompareDevicePath (
74 IN EFI_DEVICE_PATH_PROTOCOL
*DevicePath1
,
75 IN EFI_DEVICE_PATH_PROTOCOL
*DevicePath2
81 TODO: Add function description
85 DevicePath1 - TODO: add argument description
86 DevicePath2 - TODO: add argument description
90 TODO: add return values
96 InitializeHotPlugSupport (
103 TODO: Add function description
111 TODO: add return values
118 PCI_IO_DEVICE
*PciIoDevice
124 TODO: Add function description
128 PciIoDevice - TODO: add argument description
132 TODO: add return values
138 IsRootPciHotPlugBus (
139 IN EFI_DEVICE_PATH_PROTOCOL
*HpbDevicePath
,
146 TODO: Add function description
150 HpbDevicePath - TODO: add argument description
151 HpIndex - TODO: add argument description
155 TODO: add return values
161 IsRootPciHotPlugController (
162 IN EFI_DEVICE_PATH_PROTOCOL
*HpcDevicePath
,
169 TODO: Add function description
173 HpcDevicePath - TODO: add argument description
174 HpIndex - TODO: add argument description
178 TODO: add return values
192 TODO: Add function description
196 HpIndex - TODO: add argument description
197 Event - TODO: add argument description
201 TODO: add return values
207 AllRootHPCInitialized (
208 IN UINTN TimeoutInMilliSeconds
214 TODO: Add function description
218 TimeoutInMilliSeconds - TODO: add argument description
222 TODO: add return values
229 PCI_IO_DEVICE
*PciIoDevice
235 TODO: Add function description
239 PciIoDevice - TODO: add argument description
243 TODO: add return values
249 GetResourcePaddingForHpb (
250 IN PCI_IO_DEVICE
*PciIoDevice
256 TODO: Add function description
260 PciIoDevice - TODO: add argument description
264 TODO: add return values