]>
Commit | Line | Data |
---|---|---|
878ddf1f | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 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 | #define DRIVER_OVERRIDE_SIGNATURE EFI_SIGNATURE_32 ('d', 'r', 'o', 'v')\r | |
28 | \r | |
29 | typedef struct {\r | |
30 | UINT32 Signature;\r | |
31 | LIST_ENTRY Link;\r | |
32 | EFI_HANDLE DriverImageHandle;\r | |
33 | } PCI_DRIVER_OVERRIDE_LIST;\r | |
34 | \r | |
35 | \r | |
36 | #define DRIVER_OVERRIDE_FROM_LINK(a) \\r | |
37 | CR (a, PCI_DRIVER_OVERRIDE_LIST, Link, DRIVER_OVERRIDE_SIGNATURE)\r | |
38 | \r | |
39 | \r | |
40 | EFI_STATUS\r | |
41 | InitializePciDriverOverrideInstance (\r | |
42 | PCI_IO_DEVICE *PciIoDevice\r | |
43 | )\r | |
44 | /*++\r | |
45 | \r | |
46 | Routine Description:\r | |
47 | \r | |
48 | TODO: Add function description\r | |
49 | \r | |
50 | Arguments:\r | |
51 | \r | |
52 | PciIoDevice - TODO: add argument description\r | |
53 | \r | |
54 | Returns:\r | |
55 | \r | |
56 | TODO: add return values\r | |
57 | \r | |
58 | --*/\r | |
59 | ;\r | |
60 | \r | |
61 | EFI_STATUS\r | |
62 | AddDriver (\r | |
63 | IN PCI_IO_DEVICE *PciIoDevice,\r | |
64 | IN EFI_HANDLE DriverImageHandle\r | |
65 | )\r | |
66 | /*++\r | |
67 | \r | |
68 | Routine Description:\r | |
69 | \r | |
70 | TODO: Add function description\r | |
71 | \r | |
72 | Arguments:\r | |
73 | \r | |
74 | PciIoDevice - TODO: add argument description\r | |
75 | DriverImageHandle - TODO: add argument description\r | |
76 | \r | |
77 | Returns:\r | |
78 | \r | |
79 | TODO: add return values\r | |
80 | \r | |
81 | --*/\r | |
82 | ;\r | |
83 | \r | |
84 | EFI_STATUS\r | |
85 | EFIAPI\r | |
86 | GetDriver (\r | |
87 | IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This,\r | |
88 | IN OUT EFI_HANDLE *DriverImageHandle\r | |
89 | )\r | |
90 | /*++\r | |
91 | \r | |
92 | Routine Description:\r | |
93 | \r | |
94 | TODO: Add function description\r | |
95 | \r | |
96 | Arguments:\r | |
97 | \r | |
98 | This - TODO: add argument description\r | |
99 | DriverImageHandle - TODO: add argument description\r | |
100 | \r | |
101 | Returns:\r | |
102 | \r | |
103 | TODO: add return values\r | |
104 | \r | |
105 | --*/\r | |
106 | ;\r | |
107 | \r | |
108 | #endif\r |