]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
MdeModulePkg: Removing ipf which is no longer supported from edk2.
[mirror_edk2.git] / MdeModulePkg / Universal / PlatformDriOverrideDxe / PlatformDriOverrideDxe.inf
CommitLineData
6bfbb5f0 1## @file\r
6d8ced29
LG
2# This driver produces UEFI PLATFORM_DRIVER_OVERRIDE_PROTOCOL if this protocol doesn't exist.\r
3# It doesn't install again if this protocol exists.\r
d1102dba
LG
4# It only implements one interface GetDriver of PLATFORM_DRIVER_OVERRIDE_PROTOCOL protocol\r
5# and doesn't support other two interfaces GetDriverPath, DriverLoaded.\r
6#\r
6d8ced29
LG
7# This driver also offers an UI interface in device manager to let user configure\r
8# platform override protocol to override the default algorithm for matching\r
9# drivers to controllers.\r
10#\r
11# The main flow:\r
12# 1. It dynamicly locate all controller device path.\r
13# 2. It dynamicly locate all drivers which support binding protocol.\r
14# 3. It export and dynamicly update two menu to let user select the\r
15# mapping between drivers to controllers.\r
d1102dba 16# 4. It save all the mapping info in NV variables for the following boot,\r
6d8ced29
LG
17# which will be consumed by GetDriver API of the produced the platform override protocol.\r
18#\r
a81d26ab
LG
19# Caution: This module is a sample implementation for the test purpose.\r
20#\r
d1102dba 21# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
a6f164a7 22#\r
e5eed7d3 23# This program and the accompanying materials\r
a6f164a7 24# are licensed and made available under the terms and conditions of the BSD License\r
25# which accompanies this distribution. The full text of the license may be found at\r
26# http://opensource.org/licenses/bsd-license.php\r
27#\r
28# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
29# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
30#\r
6bfbb5f0 31##\r
a6f164a7 32\r
33[Defines]\r
34 INF_VERSION = 0x00010005\r
6d8ced29 35 BASE_NAME = PlatDriOverrideDxe\r
6036e94d 36 MODULE_UNI_FILE = PlatDriOverrideDxe.uni\r
a6f164a7 37 FILE_GUID = 35034CE2-A6E5-4fb4-BABE-A0156E9B2549\r
6d8ced29 38 MODULE_TYPE = DXE_DRIVER\r
a6f164a7 39 VERSION_STRING = 1.0\r
6d8ced29
LG
40 ENTRY_POINT = PlatDriOverrideDxeInit\r
41 UNLOAD_IMAGE = PlatDriOverrideDxeUnload\r
a6f164a7 42\r
43#\r
44# The following information is for reference only and not required by the build tools.\r
45#\r
de005223 46# VALID_ARCHITECTURES = IA32 X64 EBC\r
a6f164a7 47#\r
48\r
6bfbb5f0 49[Sources]\r
6d8ced29
LG
50 VfrStrings.uni\r
51 Vfr.vfr\r
52 PlatDriOverrideDxe.c\r
53 PlatOverMngr.h\r
54 PlatDriOverrideLib.c\r
55 InternalPlatDriOverrideDxe.h\r
a6f164a7 56\r
57[Packages]\r
58 MdePkg/MdePkg.dec\r
59 MdeModulePkg/MdeModulePkg.dec\r
60\r
61[LibraryClasses]\r
62 BaseLib\r
a6f164a7 63 DebugLib\r
6d8ced29
LG
64 UefiLib\r
65 UefiDriverEntryPoint\r
68dbca6c 66 UefiBootServicesTableLib\r
6d8ced29
LG
67 HiiLib\r
68 BaseMemoryLib\r
69 MemoryAllocationLib\r
70 DevicePathLib\r
71 DxeServicesTableLib\r
72 UefiRuntimeServicesTableLib\r
d1102dba
LG
73 PrintLib\r
74\r
6d8ced29 75[Guids]\r
6036e94d
SZ
76 #\r
77 # This GUID C Name is not required for build since it is from UefiLib and not directly used by this module source.\r
78 # gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"PlatformLang" # this variable specifies the platform supported language string (RFC 4646 format)\r
79 # gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"Lang" # this variable specifies the platform supported language string (ISO 639-2 format)\r
80 #\r
6d8ced29 81 # There could be more than one variables, from PlatDriOver, PlatDriOver1, PlatDriOver2,...\r
6036e94d 82 # gEfiCallerIdGuid ## Private ## Variable:L"PlatDriOver"\r
6d8ced29 83 #\r
6036e94d
SZ
84 gEfiIfrTianoGuid ## SOMETIMES_PRODUCES ## UNDEFINED\r
85 ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch Data\r
86 ## SOMETIMES_PRODUCES ## GUID # HiiGetBrowserData Data\r
87 ## SOMETIMES_CONSUMES ## GUID # HiiSetBrowserData Data\r
88 ## SOMETIMES_PRODUCES ## GUID # HiiConstructConfigHdr Data\r
89 ## CONSUMES ## HII\r
90 gPlatformOverridesManagerGuid\r
a6f164a7 91\r
68dbca6c 92[Protocols]\r
6036e94d
SZ
93 gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMES # Get Driver Name if ComponentName2Protocol exists\r
94 gEfiComponentNameProtocolGuid ## SOMETIMES_CONSUMES # Get Driver Name if ComponentNameProtocol exists and ComponentName2Protocol doesn't exist\r
95 gEfiFirmwareVolume2ProtocolGuid ## SOMETIMES_CONSUMES # Get Driver Name from EFI UI section if ComponentName2Protocol and ComponentNameProtocol don't exist\r
96 gEfiPciIoProtocolGuid ## SOMETIMES_CONSUMES # Find the PCI device if PciIo protocol is installed\r
97 gEfiBusSpecificDriverOverrideProtocolGuid ## SOMETIMES_CONSUMES # Check whether the PCI device contains one or more efi drivers in its option rom by this protocol\r
6d8ced29 98\r
6036e94d
SZ
99 gEfiDriverBindingProtocolGuid ## SOMETIMES_CONSUMES\r
100 gEfiLoadedImageProtocolGuid ## SOMETIMES_CONSUMES\r
101 gEfiLoadedImageDevicePathProtocolGuid ## SOMETIMES_CONSUMES # Show the drivers in the second page that support DriverBindingProtocol, LoadedImageProtocol and LoadedImageDevicePathProtocol\r
6d8ced29 102\r
6036e94d
SZ
103 gEfiFormBrowser2ProtocolGuid ## CONSUMES\r
104 gEfiHiiConfigRoutingProtocolGuid ## CONSUMES\r
105 gEfiHiiConfigAccessProtocolGuid ## PRODUCES\r
106 gEfiPlatformDriverOverrideProtocolGuid ## PRODUCES\r
107 ## PRODUCES\r
108 ## SOMETIMES_CONSUMES # Show the controller device in the first page that support DevicePathProtocol\r
109 gEfiDevicePathProtocolGuid\r
c9eb1bae 110\r
111[Depex]\r
6036e94d
SZ
112 gEfiFormBrowser2ProtocolGuid AND gEfiHiiConfigRoutingProtocolGuid\r
113\r
114[UserExtensions.TianoCore."ExtraFiles"]\r
115 PlatDriOverrideDxeExtra.uni\r