]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiLib/UefiLib.inf
1. Correct File header to ## @file
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.inf
index 1801b17bdf3001629ee4f1c216e7714d2c964f1e..f85199f1818575ea9fc709c3904779d1a550d42b 100644 (file)
@@ -1,11 +1,13 @@
-#/** @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 - 2010, Intel Corporation\r
 #\r
 #  All rights reserved. This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\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
   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
 \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
-\r
+  UefiLibInternal.h\r
 \r
-################################################################################\r
-#\r
-# Includes Section - list of Include locations that are required for\r
-#                    this module.\r
-#\r
-################################################################################\r
-\r
-[Includes]\r
-  $(WORKSPACE)/MdePkg\Include/Library\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                      ## CONSUMES  ## Event\r
+  gEfiEventLegacyBootGuid                       ## CONSUMES  ## Event\r
+  gEfiGlobalVariableGuid                        ## CONSUMES  ## Variable\r
 \r
 [Protocols]\r
-  gEfiDriverBindingProtocolGuid                 # ALWAYS_CONSUMED\r
-  gEfiComponentNameProtocolGuid                 # SOMETIMES_CONSUMED\r
-  gEfiDriverConfigurationProtocolGuid           # SOMETIMES_CONSUMED\r
-  gEfiDriverDiagnosticsProtocolGuid             # SOMETIMES_CONSUMED\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
+  gEfiDriverBindingProtocolGuid                   ## PRODUCES\r
+  gEfiSimpleTextOutProtocolGuid                   ## CONSUMES\r
+  gEfiGraphicsOutputProtocolGuid                  ## CONSUMES\r
+  gEfiHiiFontProtocolGuid                         ## CONSUMES\r
+  gEfiUgaDrawProtocolGuid | PcdUgaConsumeSupport                 ## SOMETIMES_CONSUMES (Consumes if gEfiGraphicsOutputProtocolGuid uninstalled)\r
+  gEfiComponentNameProtocolGuid  | NOT PcdComponentNameDisable   ## SOMETIMES_PRODUCES (User chooses to produce it)\r
+  gEfiComponentName2ProtocolGuid | NOT PcdComponentName2Disable  ## SOMETIMES_PRODUCES (User chooses to produce it)\r
+  gEfiDriverConfigurationProtocolGuid                            ## SOMETIMES_CONSUMES (User chooses to produce it)\r
+  gEfiDriverConfiguration2ProtocolGuid                           ## SOMETIMES_CONSUMES (User chooses to produce it)\r
+  gEfiDriverDiagnosticsProtocolGuid | NOT PcdDriverDiagnosticsDisable  ## SOMETIMES_CONSUMES (User chooses to produce it)\r
+  gEfiDriverDiagnostics2ProtocolGuid| NOT PcdDriverDiagnostics2Disable ## SOMETIMES_CONSUMES (User chooses to produce it)\r
+\r
+\r
+[Pcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize   ## 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
-[PcdsFeatureFlag.common]\r
-  PcdDriverDiagnosticsDisable|gEfiMdePkgTokenSpaceGuid\r
-  PcdComponentNameDisable|gEfiMdePkgTokenSpaceGuid\r
-  PcdDriverDiagnostics2Disable|gEfiMdePkgTokenSpaceGuid\r
-  PcdComponentName2Disable|gEfiMdePkgTokenSpaceGuid\r
 \r