]> 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 6f6d034d527684331b2b170ebdb084f957a296c5..8284dc58afc3cadd0609807e0babf940acc5b717 100644 (file)
@@ -1,77 +1,52 @@
-#/** @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
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\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
-# The following information is for reference only and not required by the build tools.\r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
-[Sources.common]\r
+[Sources]\r
   UefiLibPrint.c\r
   UefiNotTiano.c\r
   UefiDriverModel.c\r
   Console.c\r
   UefiLib.c\r
-  CommonHeader.h\r
+  UefiLibInternal.h\r
 \r
 \r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-#                              this module.\r
-#\r
-################################################################################\r
-\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 \r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-#                         this module.\r
-#\r
-################################################################################\r
-\r
 [LibraryClasses]\r
   PrintLib\r
   PcdLib\r
   BaseMemoryLib\r
   BaseLib\r
   UefiBootServicesTableLib\r
-\r
-\r
-################################################################################\r
-#\r
-# Guid C Name Section - list of Guids that this module uses or produces.\r
-#\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
-\r
-\r
-################################################################################\r
-#\r
-# Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.\r
-#\r
-################################################################################\r
-\r
-[PcdsFixedAtBuild.common]\r
-  PcdUefiLibMaxPrintBufferSize|gEfiMdePkgTokenSpaceGuid\r
-\r
-[PcdsFeatureFlag.common]\r
-  PcdDriverDiagnosticsDisable|gEfiMdePkgTokenSpaceGuid\r
-  PcdComponentNameDisable|gEfiMdePkgTokenSpaceGuid\r
-  PcdDriverDiagnostics2Disable|gEfiMdePkgTokenSpaceGuid\r
-  PcdComponentName2Disable|gEfiMdePkgTokenSpaceGuid\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