]> 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 f383b140ef1275563241c8c9e405fffecd5bc4af..8514bc2bf0da91be2417dc76d887575817d4b5fa 100644 (file)
@@ -1,5 +1,9 @@
 #/** @file\r
-# Instance of Platform Driver Override Library.\r
+# Instance of Platform Driver Override Library to manage driver overriding relationship.\r
+#\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
@@ -20,7 +24,7 @@
   FILE_GUID                      = 8bd8d711-2736-46d7-8c81-5de68e0a9e88\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = PlatDriOverLib|DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION\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
-  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