]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / PlatformDriOverrideDxe / PlatformDriOverrideDxe.inf
index 9702f249b544de156544d3ee7bb679aa68fc2af1..5bd9e44edd73f4df89a07a822d4b600f99af9bc3 100644 (file)
@@ -1,9 +1,9 @@
 ## @file\r
 #  This driver produces UEFI PLATFORM_DRIVER_OVERRIDE_PROTOCOL if this protocol doesn't exist.\r
 #  It doesn't install again if this protocol exists.\r
-#  It only implements one interface GetDriver of PLATFORM_DRIVER_OVERRIDE_PROTOCOL protocol \r
-#  and doesn't support other two interfaces GetDriverPath, DriverLoaded. \r
-# \r
+#  It only implements one interface GetDriver of PLATFORM_DRIVER_OVERRIDE_PROTOCOL protocol\r
+#  and doesn't support other two interfaces GetDriverPath, DriverLoaded.\r
+#\r
 #  This driver also offers an UI interface in device manager to let user configure\r
 #  platform override protocol to override the default algorithm for matching\r
 #  drivers to controllers.\r
 #  2. It dynamicly locate all drivers which support binding protocol.\r
 #  3. It export and dynamicly update two menu to let user select the\r
 #     mapping between drivers to controllers.\r
-#  4. It save all the mapping info in NV variables for the following boot, \r
+#  4. It save all the mapping info in NV variables for the following boot,\r
 #     which will be consumed by GetDriver API of the produced the platform override protocol.\r
 #\r
-# Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>\r
+# Caution: This module is a sample implementation for the test purpose.\r
+#\r
+# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -31,6 +33,7 @@
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = PlatDriOverrideDxe\r
+  MODULE_UNI_FILE                = PlatDriOverrideDxe.uni\r
   FILE_GUID                      = 35034CE2-A6E5-4fb4-BABE-A0156E9B2549\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
   DevicePathLib\r
   DxeServicesTableLib\r
   UefiRuntimeServicesTableLib\r
-  PrintLib \r
-   \r
+  PrintLib\r
+\r
 [Guids]\r
-  ##  This GUID C Name is not required for build since it is from UefiLib and not directly used by this module source.\r
-  ##  gEfiGlobalVariableGuid                      ## SOMETIMES_CONSUMED ## Variable:L"PlatformLang" this variable specifies the platform supported language string (RFC 4646 format)\r
-  ##  gEfiGlobalVariableGuid                      ## SOMETIMES_CONSUMED ## Variable:L"Lang" this variable specifies the platform supported language string (ISO 639-2 format)\r
-  ##\r
+  #\r
+  # This GUID C Name is not required for build since it is from UefiLib and not directly used by this module source.\r
+  #  gEfiGlobalVariableGuid                     ## SOMETIMES_CONSUMES   ## Variable:L"PlatformLang" # this variable specifies the platform supported language string (RFC 4646 format)\r
+  #  gEfiGlobalVariableGuid                     ## SOMETIMES_CONSUMES   ## Variable:L"Lang" # this variable specifies the platform supported language string (ISO 639-2 format)\r
+  #\r
   # There could be more than one variables, from PlatDriOver, PlatDriOver1, PlatDriOver2,...\r
+  #  gEfiCallerIdGuid                           ## Private  ## Variable:L"PlatDriOver"\r
   #\r
-  # gEfiCallerIdGuid                            ## Private  ## Variable:L"PlatDriOver"\r
-  gEfiIfrTianoGuid                              ## CONSUMES ## Guid\r
-  gPlatformOverridesManagerGuid                 ## PRODUCES ## Guid\r
+  gEfiIfrTianoGuid                              ## SOMETIMES_PRODUCES   ## UNDEFINED\r
+  ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch Data\r
+  ## SOMETIMES_PRODUCES ## GUID # HiiGetBrowserData Data\r
+  ## SOMETIMES_CONSUMES ## GUID # HiiSetBrowserData Data\r
+  ## SOMETIMES_PRODUCES ## GUID # HiiConstructConfigHdr Data\r
+  ## CONSUMES           ## HII\r
+  gPlatformOverridesManagerGuid\r
 \r
 [Protocols]\r
-  gEfiComponentName2ProtocolGuid                ## SOMETIMES_CONSUMED (Get Driver Name if ComponentName2Protocol exists)\r
-  gEfiComponentNameProtocolGuid                 ## SOMETIMES_CONSUMED (Get Driver Name if ComponentNameProtocol exists and ComponentName2Protocol doesn't exist)\r
-  gEfiFirmwareVolume2ProtocolGuid               ## SOMETIMES_CONSUMED (Get Driver Name from EFI UI section if ComponentName2Protocol and ComponentNameProtocol don't exist)\r
-  gEfiPciIoProtocolGuid                         ## SOMETIMES_CONSUMED (Find the PCI device if PciIo protocol is installed)\r
-  gEfiBusSpecificDriverOverrideProtocolGuid     ## SOMETIMES_CONSUMED (Check whether the PCI device contains one or more efi drivers in its option rom by this protocol) \r
+  gEfiComponentName2ProtocolGuid                ## SOMETIMES_CONSUMES # Get Driver Name if ComponentName2Protocol exists\r
+  gEfiComponentNameProtocolGuid                 ## SOMETIMES_CONSUMES # Get Driver Name if ComponentNameProtocol exists and ComponentName2Protocol doesn't exist\r
+  gEfiFirmwareVolume2ProtocolGuid               ## SOMETIMES_CONSUMES # Get Driver Name from EFI UI section if ComponentName2Protocol and ComponentNameProtocol don't exist\r
+  gEfiPciIoProtocolGuid                         ## SOMETIMES_CONSUMES # Find the PCI device if PciIo protocol is installed\r
+  gEfiBusSpecificDriverOverrideProtocolGuid     ## SOMETIMES_CONSUMES # Check whether the PCI device contains one or more efi drivers in its option rom by this protocol\r
 \r
-  gEfiDriverBindingProtocolGuid                 ## SOMETIMES_CONSUMED\r
-  gEfiLoadedImageProtocolGuid                   ## SOMETIMES_CONSUMED\r
-  gEfiLoadedImageDevicePathProtocolGuid         ## SOMETIMES_CONSUMED (Show the drivers in the second page that support DriverBindingProtocol, LoadedImageProtocol and LoadedImageDevicePathProtocol)\r
-  gEfiDevicePathProtocolGuid                    ## SOMETIMES_CONSUMED (Show the controller device in the first page that support DevicePathProtocol)\r
+  gEfiDriverBindingProtocolGuid                 ## SOMETIMES_CONSUMES\r
+  gEfiLoadedImageProtocolGuid                   ## SOMETIMES_CONSUMES\r
+  gEfiLoadedImageDevicePathProtocolGuid         ## SOMETIMES_CONSUMES # Show the drivers in the second page that support DriverBindingProtocol, LoadedImageProtocol and LoadedImageDevicePathProtocol\r
 \r
-  gEfiFormBrowser2ProtocolGuid                  ## CONSUMED\r
-  gEfiHiiConfigRoutingProtocolGuid              ## CONSUMED\r
-  gEfiHiiConfigAccessProtocolGuid               ## PRODUCED\r
-  gEfiPlatformDriverOverrideProtocolGuid        ## PRODUCED\r
+  gEfiFormBrowser2ProtocolGuid                  ## CONSUMES\r
+  gEfiHiiConfigRoutingProtocolGuid              ## CONSUMES\r
+  gEfiHiiConfigAccessProtocolGuid               ## PRODUCES\r
+  gEfiPlatformDriverOverrideProtocolGuid        ## PRODUCES\r
+  ## PRODUCES\r
+  ## SOMETIMES_CONSUMES # Show the controller device in the first page that support DevicePathProtocol\r
+  gEfiDevicePathProtocolGuid\r
 \r
 [Depex]\r
-  gEfiFormBrowser2ProtocolGuid AND gEfiHiiConfigRoutingProtocolGuid
\ No newline at end of file
+  gEfiFormBrowser2ProtocolGuid AND gEfiHiiConfigRoutingProtocolGuid\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  PlatDriOverrideDxeExtra.uni\r