]>
Commit | Line | Data |
---|---|---|
c7f33ca4 | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
c7f33ca4 | 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 | EfiCompNameSupport.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Private data structures for the Console Splitter driver\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef EFI_COMPONENT_NAME_SUPPORT_H\r | |
23 | #define EFI_COMPONENT_NAME_SUPPORT_H\r | |
24 | \r | |
25 | #include "Tiano.h"\r | |
26 | \r | |
27 | #ifndef EFI_SIZE_REDUCTION_APPLIED\r | |
28 | \r | |
29 | #define INSTALL_ALL_DRIVER_PROTOCOLS(ImageHandle, \\r | |
30 | SystemTable, \\r | |
31 | DriverBinding, \\r | |
32 | DriverBindingHandle, \\r | |
33 | ComponentName, \\r | |
34 | DriverConfiguration, \\r | |
35 | DriverDiagnostics) \\r | |
36 | EfiLibInstallAllDriverProtocols ((ImageHandle), \\r | |
37 | (SystemTable), \\r | |
38 | (DriverBinding), \\r | |
39 | (DriverBindingHandle), \\r | |
40 | (ComponentName), \\r | |
41 | (DriverConfiguration), \\r | |
42 | (DriverDiagnostics))\r | |
91b66c16 | 43 | \r |
44 | #define INSTALL_ALL_DRIVER_PROTOCOLS2(ImageHandle, \\r | |
45 | SystemTable, \\r | |
46 | DriverBinding, \\r | |
47 | DriverBindingHandle, \\r | |
48 | ComponentName, \\r | |
49 | DriverConfiguration, \\r | |
50 | DriverDiagnostics) \\r | |
51 | EfiLibInstallAllDriverProtocols2((ImageHandle), \\r | |
52 | (SystemTable), \\r | |
53 | (DriverBinding), \\r | |
54 | (DriverBindingHandle), \\r | |
55 | (ComponentName), \\r | |
56 | (DriverConfiguration), \\r | |
57 | (DriverDiagnostics))\r | |
c7f33ca4 | 58 | #else\r |
59 | \r | |
60 | #define INSTALL_ALL_DRIVER_PROTOCOLS(ImageHandle, \\r | |
61 | SystemTable, \\r | |
62 | DriverBinding, \\r | |
63 | DriverBindingHandle, \\r | |
64 | ComponentName, \\r | |
65 | DriverConfiguration, \\r | |
66 | DriverDiagnostics) \\r | |
67 | EfiLibInstallDriverBinding ((ImageHandle), \\r | |
68 | (SystemTable), \\r | |
69 | (DriverBinding), \\r | |
70 | (DriverBindingHandle))\r | |
91b66c16 | 71 | \r |
72 | #define INSTALL_ALL_DRIVER_PROTOCOLS2(ImageHandle, \\r | |
73 | SystemTable, \\r | |
74 | DriverBinding, \\r | |
75 | DriverBindingHandle, \\r | |
76 | ComponentName, \\r | |
77 | DriverConfiguration, \\r | |
78 | DriverDiagnostics) \\r | |
79 | EfiLibInstallDriverBinding ((ImageHandle), \\r | |
80 | (SystemTable), \\r | |
81 | (DriverBinding), \\r | |
82 | (DriverBindingHandle))\r | |
c7f33ca4 | 83 | #endif\r |
84 | \r | |
91b66c16 | 85 | #if (EFI_SPECIFICATION_VERSION < 0x00020000)\r |
86 | \r | |
87 | #define INSTALL_ALL_DRIVER_PROTOCOLS_OR_PROTOCOLS2(ImageHandle, \\r | |
88 | SystemTable, \\r | |
89 | DriverBinding, \\r | |
90 | DriverBindingHandle, \\r | |
91 | ComponentName, \\r | |
92 | DriverConfiguration, \\r | |
93 | DriverDiagnostics) \\r | |
94 | INSTALL_ALL_DRIVER_PROTOCOLS ((ImageHandle), \\r | |
95 | (SystemTable), \\r | |
96 | (DriverBinding), \\r | |
97 | (DriverBindingHandle), \\r | |
98 | (ComponentName), \\r | |
99 | (DriverConfiguration), \\r | |
100 | (DriverDiagnostics))\r | |
101 | \r | |
102 | #else\r | |
103 | \r | |
104 | #define INSTALL_ALL_DRIVER_PROTOCOLS_OR_PROTOCOLS2(ImageHandle, \\r | |
105 | SystemTable, \\r | |
106 | DriverBinding, \\r | |
107 | DriverBindingHandle, \\r | |
108 | ComponentName, \\r | |
109 | DriverConfiguration, \\r | |
110 | DriverDiagnostics) \\r | |
111 | INSTALL_ALL_DRIVER_PROTOCOLS2 ((ImageHandle), \\r | |
112 | (SystemTable), \\r | |
113 | (DriverBinding), \\r | |
114 | (DriverBindingHandle), \\r | |
115 | (ComponentName), \\r | |
116 | (DriverConfiguration), \\r | |
117 | (DriverDiagnostics))\r | |
118 | \r | |
119 | #endif\r | |
c7f33ca4 | 120 | #endif\r |