]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiLib/UefiLib.inf
Add gEfiDriverConfigurationProtocolGuid GUID C Name in INF.
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.inf
index 6f6d034d527684331b2b170ebdb084f957a296c5..315eec1d5c4cd172b1fb16c4ef6e107264aaf5df 100644 (file)
@@ -1,11 +1,13 @@
 #/** @file\r
-# Component description file for the entry point to a EFIDXE Drivers\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 - 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
 #\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
 \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
   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
-# 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
+  UefiRuntimeServicesTableLib\r
 \r
 [Guids]\r
   gEfiEventReadyToBootGuid                      # ALWAYS_CONSUMED\r
 [Protocols]\r
   gEfiDriverBindingProtocolGuid                 # ALWAYS_CONSUMED\r
   gEfiComponentNameProtocolGuid                 # SOMETIMES_CONSUMED\r
-  gEfiComponentName2ProtocolGuid                 # SOMETIMES_CONSUMED\r
+  gEfiComponentName2ProtocolGuid                # SOMETIMES_CONSUMED\r
   gEfiDriverConfigurationProtocolGuid           # SOMETIMES_CONSUMED\r
+  gEfiDriverConfiguration2ProtocolGuid          # SOMETIMES_CONSUMED\r
   gEfiDriverDiagnosticsProtocolGuid             # SOMETIMES_CONSUMED\r
-  gEfiDriverDiagnostics2ProtocolGuid             # SOMETIMES_CONSUMED\r
+  gEfiDriverDiagnostics2ProtocolGuid            # SOMETIMES_CONSUMED\r
 \r
+[Pcd.common]\r
+  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize\r
+  gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang\r
 \r
-################################################################################\r
-#\r
-# Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.\r
-#\r
-################################################################################\r
+[FeaturePcd.common]\r
+  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable\r
+  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable\r
+  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable\r
+  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable\r
 \r
-[PcdsFixedAtBuild.common]\r
-  PcdUefiLibMaxPrintBufferSize|gEfiMdePkgTokenSpaceGuid\r
+[Guids]  \r
+  gEfiGlobalVariableGuid \r
 \r
-[PcdsFeatureFlag.common]\r
-  PcdDriverDiagnosticsDisable|gEfiMdePkgTokenSpaceGuid\r
-  PcdComponentNameDisable|gEfiMdePkgTokenSpaceGuid\r
-  PcdDriverDiagnostics2Disable|gEfiMdePkgTokenSpaceGuid\r
-  PcdComponentName2Disable|gEfiMdePkgTokenSpaceGuid\r
 \r