]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/UefiLib/UefiLib.inf
Enhance inf to follow spec.
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.inf
CommitLineData
6bfbb5f0 1## @file\r
85ea851e 2# Instance of UEFI Library.\r
3#\r
4# The UEFI Library provides functions and macros that simplify the development of \r
e500088c 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
e386b444 9#\r
6e80bc62 10# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
85ea851e 11#\r
19388d29 12# This program and the accompanying materials\r
e386b444 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
2fc59a00 15# http://opensource.org/licenses/bsd-license.php.\r
e386b444 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
6bfbb5f0 20##\r
e386b444 21\r
e386b444 22[Defines]\r
23 INF_VERSION = 0x00010005\r
24 BASE_NAME = UefiLib\r
25 FILE_GUID = 3a004ba5-efe0-4a61-9f1a-267a46ae5ba9\r
2a5f2a50 26 MODULE_TYPE = UEFI_DRIVER\r
e386b444 27 VERSION_STRING = 1.0\r
b7c5912a 28 LIBRARY_CLASS = UefiLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE\r
5bd2d2cb 29 CONSTRUCTOR = UefiLibConstructor\r
e386b444 30\r
31\r
e386b444 32#\r
33# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
34#\r
35\r
6bfbb5f0 36[Sources]\r
e386b444 37 UefiLibPrint.c\r
38 UefiNotTiano.c\r
c7d265a9 39 UefiDriverModel.c\r
e386b444 40 Console.c\r
41 UefiLib.c\r
f734a10a 42 UefiLibInternal.h\r
e386b444 43\r
44\r
e386b444 45[Packages]\r
46 MdePkg/MdePkg.dec\r
47\r
48\r
e386b444 49[LibraryClasses]\r
50 PrintLib\r
51 PcdLib\r
52 MemoryAllocationLib\r
53 DebugLib\r
54 BaseMemoryLib\r
55 BaseLib\r
56 UefiBootServicesTableLib\r
e5dab016 57 DevicePathLib\r
6d28c497 58 UefiRuntimeServicesTableLib\r
e5dab016 59 \r
e386b444 60[Guids]\r
9b488a39 61 gEfiEventReadyToBootGuid ## CONSUMES ## Event\r
62 gEfiEventLegacyBootGuid ## CONSUMES ## Event\r
6d28c497 63 gEfiGlobalVariableGuid ## CONSUMES ## Variable\r
e386b444 64\r
65[Protocols]\r
0bb0f0c9 66 gEfiDriverBindingProtocolGuid ## PRODUCES\r
67 gEfiSimpleTextOutProtocolGuid ## CONSUMES\r
68 gEfiGraphicsOutputProtocolGuid ## CONSUMES\r
69 gEfiHiiFontProtocolGuid ## CONSUMES\r
6e80bc62
ED
70 gEfiUgaDrawProtocolGuid | gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## SOMETIMES_CONSUMES (Consumes if gEfiGraphicsOutputProtocolGuid uninstalled)\r
71 gEfiComponentNameProtocolGuid | NOT gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable ## SOMETIMES_PRODUCES (User chooses to produce it)\r
72 gEfiComponentName2ProtocolGuid | NOT gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable ## SOMETIMES_PRODUCES (User chooses to produce it)\r
0bb0f0c9 73 gEfiDriverConfigurationProtocolGuid ## SOMETIMES_CONSUMES (User chooses to produce it)\r
74 gEfiDriverConfiguration2ProtocolGuid ## SOMETIMES_CONSUMES (User chooses to produce it)\r
6e80bc62
ED
75 gEfiDriverDiagnosticsProtocolGuid | NOT gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable ## SOMETIMES_CONSUMES (User chooses to produce it)\r
76 gEfiDriverDiagnostics2ProtocolGuid| NOT gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable ## SOMETIMES_CONSUMES (User chooses to produce it)\r
b3154720 77\r
e386b444 78\r
6bfbb5f0 79[Pcd]\r
9b488a39 80 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize ## CONSUMES\r
b3af5df6 81\r
6bfbb5f0 82[FeaturePcd]\r
9b488a39 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
f8d18bad 88\r
89\r