]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/UefiLib/UefiLib.inf
1. Correct File header to ## @file
[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 - 2010, Intel Corporation
11 #
12 # All rights reserved. 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
30
31 #
32 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
33 #
34
35 [Sources]
36 UefiLibPrint.c
37 UefiNotTiano.c
38 UefiDriverModel.c
39 Console.c
40 UefiLib.c
41 UefiLibInternal.h
42
43
44 [Packages]
45 MdePkg/MdePkg.dec
46
47
48 [LibraryClasses]
49 PrintLib
50 PcdLib
51 MemoryAllocationLib
52 DebugLib
53 BaseMemoryLib
54 BaseLib
55 UefiBootServicesTableLib
56 DevicePathLib
57 UefiRuntimeServicesTableLib
58
59 [Guids]
60 gEfiEventReadyToBootGuid ## CONSUMES ## Event
61 gEfiEventLegacyBootGuid ## CONSUMES ## Event
62 gEfiGlobalVariableGuid ## CONSUMES ## Variable
63
64 [Protocols]
65 gEfiDriverBindingProtocolGuid ## PRODUCES
66 gEfiSimpleTextOutProtocolGuid ## CONSUMES
67 gEfiGraphicsOutputProtocolGuid ## CONSUMES
68 gEfiHiiFontProtocolGuid ## CONSUMES
69 gEfiUgaDrawProtocolGuid | PcdUgaConsumeSupport ## SOMETIMES_CONSUMES (Consumes if gEfiGraphicsOutputProtocolGuid uninstalled)
70 gEfiComponentNameProtocolGuid | NOT PcdComponentNameDisable ## SOMETIMES_PRODUCES (User chooses to produce it)
71 gEfiComponentName2ProtocolGuid | NOT PcdComponentName2Disable ## SOMETIMES_PRODUCES (User chooses to produce it)
72 gEfiDriverConfigurationProtocolGuid ## SOMETIMES_CONSUMES (User chooses to produce it)
73 gEfiDriverConfiguration2ProtocolGuid ## SOMETIMES_CONSUMES (User chooses to produce it)
74 gEfiDriverDiagnosticsProtocolGuid | NOT PcdDriverDiagnosticsDisable ## SOMETIMES_CONSUMES (User chooses to produce it)
75 gEfiDriverDiagnostics2ProtocolGuid| NOT PcdDriverDiagnostics2Disable ## SOMETIMES_CONSUMES (User chooses to produce it)
76
77
78 [Pcd]
79 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize ## CONSUMES
80
81 [FeaturePcd]
82 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable ## CONSUMES
83 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable ## CONSUMES
84 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable ## CONSUMES
85 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable ## CONSUMES
86 gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## CONSUMES
87
88