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