]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxePlatDriOverLib/DxePlatDriOverLib.inf
Change library class PlatDriOverLib to PlatformDriOverrideLib
[mirror_edk2.git] / MdeModulePkg / Library / DxePlatDriOverLib / DxePlatDriOverLib.inf
index cb0eb29b8b827a5bf3c4b12cc4d82770b7643123..8514bc2bf0da91be2417dc76d887575817d4b5fa 100644 (file)
@@ -1,8 +1,11 @@
 #/** @file\r
-# Component name for module PlatDriOverLib\r
+# Instance of Platform Driver Override Library to manage driver overriding relationship.\r
 #\r
-# FIX ME!\r
-# Copyright (c) 2007, Intel Corporation. All rights reserved.\r
+# This library instance provides functions to manage the database of overriding relationship\r
+# between controllers and drivers. Each entry of the database contains the mapping that Controller\r
+# Device Path to a set of Driver Device Paths. The database is stored in non-volatile variables.\r
+#\r
+# Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.\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
   FILE_GUID                      = 8bd8d711-2736-46d7-8c81-5de68e0a9e88\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = PlatDriOverLib\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
+  LIBRARY_CLASS                  = PlatformDriverOverrideLib|DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
   PrintLib\r
 \r
 [Guids]\r
-  gEfiOverrideVariableGuid                      # ALWAYS_CONSUMED\r
+  ##\r
+  # There could be more than one variables, from PlatDriOver, PlatDriOver1, PlatDriOver2,...\r
+  #\r
+  gEfiOverrideVariableGuid                      ## CONSUMES ## Variable:L"PlatDriOver"\r
 \r
 [Protocols]\r
-  gEfiFirmwareVolume2ProtocolGuid               # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiLoadedImageProtocolGuid                   # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiPlatformDriverOverrideProtocolGuid        # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiBusSpecificDriverOverrideProtocolGuid     # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiDriverBindingProtocolGuid                 # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiDevicePathProtocolGuid                    # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiLoadedImageDevicePathProtocolGuid         # PROTOCOL ALWAYS_CONSUMED\r
+  gEfiFirmwareVolume2ProtocolGuid               ## CONSUMES\r
+  gEfiLoadedImageProtocolGuid                   ## CONSUMES\r
+  gEfiBusSpecificDriverOverrideProtocolGuid     ## CONSUMES\r
+  gEfiDriverBindingProtocolGuid                 ## CONSUMES\r
+  gEfiDevicePathProtocolGuid                    ## CONSUMES\r
+  gEfiLoadedImageDevicePathProtocolGuid         ## CONSUMES\r