]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/PciBusNoEnumerationDxe/PciDriverOverride.h
BaseTools/BinToPcd: Fix Python 2.7.x compatibility issue
[mirror_edk2.git] / DuetPkg / PciBusNoEnumerationDxe / PciDriverOverride.h
CommitLineData
10590588 1/*++\r
2\r
b1f700a8
HT
3Copyright (c) 2005 - 2006, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
10590588 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 PciDriverOverride.h\r
15 \r
16Abstract:\r
17\r
18 \r
19\r
20Revision History\r
21\r
22--*/\r
23\r
24#ifndef _EFI_PCI_DRIVER_OVERRRIDE_H\r
25#define _EFI_PCI_DRIVER_OVERRRIDE_H\r
26\r
27#include "PciBus.h"\r
28\r
eea53ce1 29#define DRIVER_OVERRIDE_SIGNATURE SIGNATURE_32 ('d', 'r', 'o', 'v')\r
10590588 30\r
31typedef struct {\r
32 UINT32 Signature;\r
33 LIST_ENTRY Link;\r
34 EFI_HANDLE DriverImageHandle;\r
35} PCI_DRIVER_OVERRIDE_LIST;\r
36\r
37\r
38#define DRIVER_OVERRIDE_FROM_LINK(a) \\r
39 CR (a, PCI_DRIVER_OVERRIDE_LIST, Link, DRIVER_OVERRIDE_SIGNATURE)\r
40\r
41\r
42EFI_STATUS\r
43InitializePciDriverOverrideInstance (\r
44 PCI_IO_DEVICE *PciIoDevice\r
45 )\r
46/*++\r
47\r
48Routine Description:\r
49\r
50 TODO: Add function description\r
51\r
52Arguments:\r
53\r
54 PciIoDevice - TODO: add argument description\r
55\r
56Returns:\r
57\r
58 TODO: add return values\r
59\r
60--*/\r
61;\r
62\r
63EFI_STATUS\r
64AddDriver (\r
65 IN PCI_IO_DEVICE *PciIoDevice,\r
66 IN EFI_HANDLE DriverImageHandle\r
67 )\r
68/*++\r
69\r
70Routine Description:\r
71\r
72 TODO: Add function description\r
73\r
74Arguments:\r
75\r
76 PciIoDevice - TODO: add argument description\r
77 DriverImageHandle - TODO: add argument description\r
78\r
79Returns:\r
80\r
81 TODO: add return values\r
82\r
83--*/\r
84;\r
85\r
86EFI_STATUS\r
87EFIAPI\r
88GetDriver (\r
89 IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This,\r
90 IN OUT EFI_HANDLE *DriverImageHandle\r
91 )\r
92/*++\r
93\r
94Routine Description:\r
95\r
96 TODO: Add function description\r
97\r
98Arguments:\r
99\r
100 This - TODO: add argument description\r
101 DriverImageHandle - TODO: add argument description\r
102\r
103Returns:\r
104\r
105 TODO: add return values\r
106\r
107--*/\r
108;\r
109\r
110#endif\r