]>
Commit | Line | Data |
---|---|---|
10590588 | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2005 - 2006, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | PciDriverOverride.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | \r | |
19 | \r | |
20 | Revision 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 |
31 | typedef 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 | |
42 | EFI_STATUS\r | |
43 | InitializePciDriverOverrideInstance (\r | |
44 | PCI_IO_DEVICE *PciIoDevice\r | |
45 | )\r | |
46 | /*++\r | |
47 | \r | |
48 | Routine Description:\r | |
49 | \r | |
50 | TODO: Add function description\r | |
51 | \r | |
52 | Arguments:\r | |
53 | \r | |
54 | PciIoDevice - TODO: add argument description\r | |
55 | \r | |
56 | Returns:\r | |
57 | \r | |
58 | TODO: add return values\r | |
59 | \r | |
60 | --*/\r | |
61 | ;\r | |
62 | \r | |
63 | EFI_STATUS\r | |
64 | AddDriver (\r | |
65 | IN PCI_IO_DEVICE *PciIoDevice,\r | |
66 | IN EFI_HANDLE DriverImageHandle\r | |
67 | )\r | |
68 | /*++\r | |
69 | \r | |
70 | Routine Description:\r | |
71 | \r | |
72 | TODO: Add function description\r | |
73 | \r | |
74 | Arguments:\r | |
75 | \r | |
76 | PciIoDevice - TODO: add argument description\r | |
77 | DriverImageHandle - TODO: add argument description\r | |
78 | \r | |
79 | Returns:\r | |
80 | \r | |
81 | TODO: add return values\r | |
82 | \r | |
83 | --*/\r | |
84 | ;\r | |
85 | \r | |
86 | EFI_STATUS\r | |
87 | EFIAPI\r | |
88 | GetDriver (\r | |
89 | IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This,\r | |
90 | IN OUT EFI_HANDLE *DriverImageHandle\r | |
91 | )\r | |
92 | /*++\r | |
93 | \r | |
94 | Routine Description:\r | |
95 | \r | |
96 | TODO: Add function description\r | |
97 | \r | |
98 | Arguments:\r | |
99 | \r | |
100 | This - TODO: add argument description\r | |
101 | DriverImageHandle - TODO: add argument description\r | |
102 | \r | |
103 | Returns:\r | |
104 | \r | |
105 | TODO: add return values\r | |
106 | \r | |
107 | --*/\r | |
108 | ;\r | |
109 | \r | |
110 | #endif\r |