Add in more library for ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Include / EfiCompNameSupport.h
1 /*++
2
3 Copyright (c) 2004, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 EfiCompNameSupport.h
15
16 Abstract:
17
18 Private data structures for the Console Splitter driver
19
20 --*/
21
22 #ifndef EFI_COMPONENT_NAME_SUPPORT_H
23 #define EFI_COMPONENT_NAME_SUPPORT_H
24
25 #include "Tiano.h"
26
27 #ifndef EFI_SIZE_REDUCTION_APPLIED
28
29 #define INSTALL_ALL_DRIVER_PROTOCOLS(ImageHandle, \
30 SystemTable, \
31 DriverBinding, \
32 DriverBindingHandle, \
33 ComponentName, \
34 DriverConfiguration, \
35 DriverDiagnostics) \
36 EfiLibInstallAllDriverProtocols ((ImageHandle), \
37 (SystemTable), \
38 (DriverBinding), \
39 (DriverBindingHandle), \
40 (ComponentName), \
41 (DriverConfiguration), \
42 (DriverDiagnostics))
43 #else
44
45 #define INSTALL_ALL_DRIVER_PROTOCOLS(ImageHandle, \
46 SystemTable, \
47 DriverBinding, \
48 DriverBindingHandle, \
49 ComponentName, \
50 DriverConfiguration, \
51 DriverDiagnostics) \
52 EfiLibInstallDriverBinding ((ImageHandle), \
53 (SystemTable), \
54 (DriverBinding), \
55 (DriverBindingHandle))
56 #endif
57
58 #endif