]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiLib/UefiLib.inf
MdePkg/ProcessorBind: add defines for page allocation granularity
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.inf
index 7aa1812d0b3a627939b1a3af84acc1e2cd0da1de..8284dc58afc3cadd0609807e0babf940acc5b717 100644 (file)
@@ -1,38 +1,40 @@
-#/** @file\r
-# Component description file for the entry point to a EFIDXE Drivers\r
+## @file\r
+# Instance of UEFI Library.\r
 #\r
-# Library to abstract Framework extensions that conflict with UEFI 2.0 Specification\r
+# The UEFI Library provides functions and macros that simplify the development of \r
+#  UEFI Drivers and UEFI Applications.  These functions and macros help manage EFI \r
+#  events, build simple locks utilizing EFI Task Priority Levels (TPLs), install \r
+#  EFI Driver Model related protocols, manage Unicode string tables for UEFI Drivers, \r
+#  and print messages on the console output and standard error devices.\r
 #\r
-#  Help Port Framework/Tinao code that has conflicts with UEFI 2.0 by hiding the oldconflicts with library functions and supporting implementations of the old\r
-#  (EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way. This module is a DXE driver as it contains DXE enum extensions for EFI event services.\r
-# Copyright (c) 2007, Intel Corporation.\r
+# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+#  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #  which accompanies this distribution. The full text of the license may be found at\r
-#  http://opensource.org/licenses/bsd-license.php\r
+#  http://opensource.org/licenses/bsd-license.php.\r
 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = UefiLib\r
+  MODULE_UNI_FILE                = UefiLib.uni\r
   FILE_GUID                      = 3a004ba5-efe0-4a61-9f1a-267a46ae5ba9\r
-  MODULE_TYPE                    = DXE_DRIVER\r
+  MODULE_TYPE                    = UEFI_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = UefiLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
+  LIBRARY_CLASS                  = UefiLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE\r
+  CONSTRUCTOR                    = UefiLibConstructor\r
 \r
 \r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   UefiLibPrint.c\r
   UefiNotTiano.c\r
   UefiDriverModel.c\r
   BaseMemoryLib\r
   BaseLib\r
   UefiBootServicesTableLib\r
-\r
-\r
+  DevicePathLib\r
+  UefiRuntimeServicesTableLib\r
+  \r
 [Guids]\r
-  gEfiEventReadyToBootGuid                      # ALWAYS_CONSUMED\r
-  gEfiEventLegacyBootGuid                       # ALWAYS_CONSUMED\r
-\r
+  gEfiEventReadyToBootGuid                      ## SOMETIMES_CONSUMES  ## Event\r
+  gEfiEventLegacyBootGuid                       ## SOMETIMES_CONSUMES  ## Event\r
+  gEfiGlobalVariableGuid                        ## SOMETIMES_CONSUMES  ## Variable\r
 \r
 [Protocols]\r
-  gEfiDriverBindingProtocolGuid                 # ALWAYS_CONSUMED\r
-  gEfiComponentNameProtocolGuid                 # SOMETIMES_CONSUMED\r
-  gEfiComponentName2ProtocolGuid                 # SOMETIMES_CONSUMED\r
-  gEfiDriverConfigurationProtocolGuid           # SOMETIMES_CONSUMED\r
-  gEfiDriverDiagnosticsProtocolGuid             # SOMETIMES_CONSUMED\r
-  gEfiDriverDiagnostics2ProtocolGuid             # SOMETIMES_CONSUMED\r
-  gEfiFirmwareVolume2ProtocolGuid               # ALWAYS_CONSUMED\r
-\r
-\r
-[Pcd.common]\r
-  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize\r
-\r
-[FeaturePcd.common]\r
-  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable\r
-  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable\r
-  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable\r
-  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable\r
+  gEfiDriverBindingProtocolGuid                   ## SOMETIMES_PRODUCES\r
+  gEfiSimpleTextOutProtocolGuid                   ## SOMETIMES_CONSUMES\r
+  gEfiGraphicsOutputProtocolGuid                  ## SOMETIMES_CONSUMES\r
+  gEfiHiiFontProtocolGuid                         ## SOMETIMES_CONSUMES\r
+  gEfiUgaDrawProtocolGuid | gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport                 ## SOMETIMES_CONSUMES # Consumes if gEfiGraphicsOutputProtocolGuid uninstalled\r
+  gEfiComponentNameProtocolGuid  | NOT gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable   ## SOMETIMES_PRODUCES # User chooses to produce it\r
+  gEfiComponentName2ProtocolGuid | NOT gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable  ## SOMETIMES_PRODUCES # User chooses to produce it\r
+  gEfiDriverConfigurationProtocolGuid                            ## SOMETIMES_PRODUCES # User chooses to produce it\r
+  gEfiDriverConfiguration2ProtocolGuid                           ## SOMETIMES_PRODUCES # User chooses to produce it\r
+  gEfiDriverDiagnosticsProtocolGuid | NOT gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable  ## SOMETIMES_PRODUCES # User chooses to produce it\r
+  gEfiDriverDiagnostics2ProtocolGuid| NOT gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable ## SOMETIMES_PRODUCES # User chooses to produce it\r
+\r
+\r
+[Pcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize   ## SOMETIMES_CONSUMES\r
+\r
+[FeaturePcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable    ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable        ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable   ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable       ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport           ## CONSUMES\r
 \r