]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiLib/UefiLib.inf
Fix bugs in the UEFI SCSI Library.
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.inf
index 811bbb55f94d0a8a5fdc9a3ba227624f8d623d6f..11a2a63f3497352a1a2e28e61b1312909cc64c82 100644 (file)
@@ -1,10 +1,14 @@
 #/** @file\r
-#  The UEFI Library provides functions and macros that simplify the development of \r
+# Instance of UEFI Library.\r
+#\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
+# Copyright (c) 2007 - 2008, 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
 #  which accompanies this distribution. The full text of the license may be found at\r
@@ -22,8 +26,6 @@
   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
 \r
 \r
 #\r
   BaseMemoryLib\r
   BaseLib\r
   UefiBootServicesTableLib\r
+  DevicePathLib\r
   UefiRuntimeServicesTableLib\r
-\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
-  gEfiComponentName2ProtocolGuid                 # SOMETIMES_CONSUMED\r
-  gEfiDriverConfigurationProtocolGuid           # SOMETIMES_CONSUMED\r
-  gEfiDriverDiagnosticsProtocolGuid             # SOMETIMES_CONSUMED\r
-  gEfiDriverDiagnostics2ProtocolGuid             # SOMETIMES_CONSUMED\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.common]\r
-  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize\r
-  gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang\r
+  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize   ## CONSUMES\r
 \r
 [FeaturePcd.common]\r
-  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable\r
-  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable\r
-  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable\r
-  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable\r
-\r
-[Guids]  \r
-  gEfiGlobalVariableGuid \r
+  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable    ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable        ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable   ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable       ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport           ## CONSUMES\r
 \r
 \r