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