]>
Commit | Line | Data |
---|---|---|
6b40e66a RN |
1 | /** @file\r |
2 | Map positions of extra PCI root buses to bus numbers.\r | |
3 | \r | |
4 | Copyright (C) 2015, Red Hat, Inc.\r | |
5 | \r | |
6 | This program and the accompanying materials are licensed and made available\r | |
7 | under the terms and conditions of the BSD License which accompanies this\r | |
8 | distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r | |
12 | WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef __EXTRA_ROOT_BUS_MAP_H__\r | |
16 | #define __EXTRA_ROOT_BUS_MAP_H__\r | |
17 | \r | |
18 | /**\r | |
19 | Incomplete ("opaque") data type implementing the map.\r | |
20 | **/\r | |
21 | typedef struct EXTRA_ROOT_BUS_MAP_STRUCT EXTRA_ROOT_BUS_MAP;\r | |
22 | \r | |
23 | EFI_STATUS\r | |
24 | CreateExtraRootBusMap (\r | |
25 | OUT EXTRA_ROOT_BUS_MAP **ExtraRootBusMap\r | |
26 | );\r | |
27 | \r | |
28 | VOID\r | |
29 | DestroyExtraRootBusMap (\r | |
30 | IN EXTRA_ROOT_BUS_MAP *ExtraRootBusMap\r | |
31 | );\r | |
32 | \r | |
33 | EFI_STATUS\r | |
34 | MapRootBusPosToBusNr (\r | |
35 | IN CONST EXTRA_ROOT_BUS_MAP *ExtraRootBusMap,\r | |
36 | IN UINT64 RootBusPos,\r | |
37 | OUT UINT32 *RootBusNr\r | |
38 | );\r | |
39 | \r | |
40 | #endif\r |