• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 - 2014, 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  MODULE_UNI_FILE                = UefiLib.uni
26  FILE_GUID                      = 3a004ba5-efe0-4a61-9f1a-267a46ae5ba9
27  MODULE_TYPE                    = UEFI_DRIVER
28  VERSION_STRING                 = 1.0
29  LIBRARY_CLASS                  = UefiLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE
30  CONSTRUCTOR                    = UefiLibConstructor
31
32
33#
34#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
35#
36
37[Sources]
38  UefiLibPrint.c
39  UefiNotTiano.c
40  UefiDriverModel.c
41  Console.c
42  UefiLib.c
43  UefiLibInternal.h
44
45
46[Packages]
47  MdePkg/MdePkg.dec
48
49
50[LibraryClasses]
51  PrintLib
52  PcdLib
53  MemoryAllocationLib
54  DebugLib
55  BaseMemoryLib
56  BaseLib
57  UefiBootServicesTableLib
58  DevicePathLib
59  UefiRuntimeServicesTableLib
60
61[Guids]
62  gEfiEventReadyToBootGuid                      ## SOMETIMES_CONSUMES  ## Event
63  gEfiEventLegacyBootGuid                       ## SOMETIMES_CONSUMES  ## Event
64  gEfiGlobalVariableGuid                        ## SOMETIMES_CONSUMES  ## Variable
65
66[Protocols]
67  gEfiDriverBindingProtocolGuid                   ## SOMETIMES_PRODUCES
68  gEfiSimpleTextOutProtocolGuid                   ## SOMETIMES_CONSUMES
69  gEfiGraphicsOutputProtocolGuid                  ## SOMETIMES_CONSUMES
70  gEfiHiiFontProtocolGuid                         ## SOMETIMES_CONSUMES
71  gEfiUgaDrawProtocolGuid | gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport                 ## SOMETIMES_CONSUMES # Consumes if gEfiGraphicsOutputProtocolGuid uninstalled
72  gEfiComponentNameProtocolGuid  | NOT gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable   ## SOMETIMES_PRODUCES # User chooses to produce it
73  gEfiComponentName2ProtocolGuid | NOT gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable  ## SOMETIMES_PRODUCES # User chooses to produce it
74  gEfiDriverConfigurationProtocolGuid                            ## SOMETIMES_PRODUCES # User chooses to produce it
75  gEfiDriverConfiguration2ProtocolGuid                           ## SOMETIMES_PRODUCES # User chooses to produce it
76  gEfiDriverDiagnosticsProtocolGuid | NOT gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable  ## SOMETIMES_PRODUCES # User chooses to produce it
77  gEfiDriverDiagnostics2ProtocolGuid| NOT gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable ## SOMETIMES_PRODUCES # User chooses to produce it
78
79
80[Pcd]
81  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize   ## SOMETIMES_CONSUMES
82
83[FeaturePcd]
84  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable    ## CONSUMES
85  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable        ## CONSUMES
86  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable   ## CONSUMES
87  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable       ## CONSUMES
88  gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport           ## CONSUMES
89
90