]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Library/UefiLib/UefiLib.inf
Add an empty CONSTRUCTOR to the UefiLib to resolve library dependency issues.
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.inf
... / ...
CommitLineData
1## @file\r
2# Instance of UEFI Library.\r
3#\r
4# The UEFI Library provides functions and macros that simplify the development of \r
5# UEFI Drivers and UEFI Applications. These functions and macros help manage EFI \r
6# events, build simple locks utilizing EFI Task Priority Levels (TPLs), install \r
7# EFI Driver Model related protocols, manage Unicode string tables for UEFI Drivers, \r
8# and print messages on the console output and standard error devices.\r
9#\r
10# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
11#\r
12# This program and the accompanying materials\r
13# are licensed and made available under the terms and conditions of the BSD License\r
14# which accompanies this distribution. The full text of the license may be found at\r
15# http://opensource.org/licenses/bsd-license.php.\r
16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
17# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
18#\r
19#\r
20##\r
21\r
22[Defines]\r
23 INF_VERSION = 0x00010005\r
24 BASE_NAME = UefiLib\r
25 FILE_GUID = 3a004ba5-efe0-4a61-9f1a-267a46ae5ba9\r
26 MODULE_TYPE = UEFI_DRIVER\r
27 VERSION_STRING = 1.0\r
28 LIBRARY_CLASS = UefiLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE\r
29 CONSTRUCTOR = UefiLibConstructor\r
30\r
31\r
32#\r
33# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
34#\r
35\r
36[Sources]\r
37 UefiLibPrint.c\r
38 UefiNotTiano.c\r
39 UefiDriverModel.c\r
40 Console.c\r
41 UefiLib.c\r
42 UefiLibInternal.h\r
43\r
44\r
45[Packages]\r
46 MdePkg/MdePkg.dec\r
47\r
48\r
49[LibraryClasses]\r
50 PrintLib\r
51 PcdLib\r
52 MemoryAllocationLib\r
53 DebugLib\r
54 BaseMemoryLib\r
55 BaseLib\r
56 UefiBootServicesTableLib\r
57 DevicePathLib\r
58 UefiRuntimeServicesTableLib\r
59 \r
60[Guids]\r
61 gEfiEventReadyToBootGuid ## CONSUMES ## Event\r
62 gEfiEventLegacyBootGuid ## CONSUMES ## Event\r
63 gEfiGlobalVariableGuid ## CONSUMES ## Variable\r
64\r
65[Protocols]\r
66 gEfiDriverBindingProtocolGuid ## PRODUCES\r
67 gEfiSimpleTextOutProtocolGuid ## CONSUMES\r
68 gEfiGraphicsOutputProtocolGuid ## CONSUMES\r
69 gEfiHiiFontProtocolGuid ## CONSUMES\r
70 gEfiUgaDrawProtocolGuid | PcdUgaConsumeSupport ## SOMETIMES_CONSUMES (Consumes if gEfiGraphicsOutputProtocolGuid uninstalled)\r
71 gEfiComponentNameProtocolGuid | NOT PcdComponentNameDisable ## SOMETIMES_PRODUCES (User chooses to produce it)\r
72 gEfiComponentName2ProtocolGuid | NOT PcdComponentName2Disable ## SOMETIMES_PRODUCES (User chooses to produce it)\r
73 gEfiDriverConfigurationProtocolGuid ## SOMETIMES_CONSUMES (User chooses to produce it)\r
74 gEfiDriverConfiguration2ProtocolGuid ## SOMETIMES_CONSUMES (User chooses to produce it)\r
75 gEfiDriverDiagnosticsProtocolGuid | NOT PcdDriverDiagnosticsDisable ## SOMETIMES_CONSUMES (User chooses to produce it)\r
76 gEfiDriverDiagnostics2ProtocolGuid| NOT PcdDriverDiagnostics2Disable ## SOMETIMES_CONSUMES (User chooses to produce it)\r
77\r
78\r
79[Pcd]\r
80 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize ## CONSUMES\r
81\r
82[FeaturePcd]\r
83 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable ## CONSUMES\r
84 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable ## CONSUMES\r
85 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable ## CONSUMES\r
86 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable ## CONSUMES\r
87 gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## CONSUMES\r
88\r
89\r