]>
Commit | Line | Data |
---|---|---|
1 | /*++ | |
2 | ||
3 | Copyright (c) 2005 - 2006, Intel Corporation. All rights reserved.<BR> | |
4 | 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 | PciEnumeratorSupport.h | |
15 | ||
16 | Abstract: | |
17 | ||
18 | PCI Bus Driver | |
19 | ||
20 | Revision History | |
21 | ||
22 | --*/ | |
23 | ||
24 | #ifndef _EFI_PCI_ENUMERATOR_SUPPORT_H | |
25 | #define _EFI_PCI_ENUMERATOR_SUPPORT_H | |
26 | ||
27 | #include "PciBus.h" | |
28 | ||
29 | EFI_STATUS | |
30 | PciPciDeviceInfoCollector ( | |
31 | IN PCI_IO_DEVICE *Bridge, | |
32 | UINT8 StartBusNumber | |
33 | ) | |
34 | /*++ | |
35 | ||
36 | Routine Description: | |
37 | ||
38 | TODO: Add function description | |
39 | ||
40 | Arguments: | |
41 | ||
42 | Bridge - TODO: add argument description | |
43 | StartBusNumber - TODO: add argument description | |
44 | ||
45 | Returns: | |
46 | ||
47 | TODO: add return values | |
48 | ||
49 | --*/ | |
50 | ; | |
51 | ||
52 | EFI_STATUS | |
53 | PciDevicePresent( | |
54 | IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, | |
55 | PCI_TYPE00 *Pci, | |
56 | UINT8 Bus, | |
57 | UINT8 Device, | |
58 | UINT8 Func | |
59 | ); | |
60 | ||
61 | EFI_STATUS | |
62 | PciEnumeratorLight ( | |
63 | IN EFI_HANDLE Controller | |
64 | ) | |
65 | /*++ | |
66 | ||
67 | Routine Description: | |
68 | ||
69 | TODO: Add function description | |
70 | ||
71 | Arguments: | |
72 | ||
73 | Controller - TODO: add argument description | |
74 | ||
75 | Returns: | |
76 | ||
77 | TODO: add return values | |
78 | ||
79 | --*/ | |
80 | ; | |
81 | ||
82 | EFI_STATUS | |
83 | PciGetBusRange ( | |
84 | IN EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR **Descriptors, | |
85 | OUT UINT16 *MinBus, | |
86 | OUT UINT16 *MaxBus, | |
87 | OUT UINT16 *BusRange | |
88 | ) | |
89 | /*++ | |
90 | ||
91 | Routine Description: | |
92 | ||
93 | TODO: Add function description | |
94 | ||
95 | Arguments: | |
96 | ||
97 | Descriptors - TODO: add argument description | |
98 | MinBus - TODO: add argument description | |
99 | MaxBus - TODO: add argument description | |
100 | BusRange - TODO: add argument description | |
101 | ||
102 | Returns: | |
103 | ||
104 | TODO: add return values | |
105 | ||
106 | --*/ | |
107 | ; | |
108 | #endif |