]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
MdeModulePkg: INF/DEC file updates to EDK II packages
[mirror_edk2.git] / MdeModulePkg / Universal / PlatformDriOverrideDxe / PlatformDriOverrideDxe.inf
... / ...
CommitLineData
1## @file\r
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
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
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
16# 4. It save all the mapping info in NV variables for the following boot, \r
17# which will be consumed by GetDriver API of the produced the platform override protocol.\r
18#\r
19# Caution: This module is a sample implementation for the test purpose.\r
20#\r
21# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
22#\r
23# This program and the accompanying materials\r
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
31##\r
32\r
33[Defines]\r
34 INF_VERSION = 0x00010005\r
35 BASE_NAME = PlatDriOverrideDxe\r
36 MODULE_UNI_FILE = PlatDriOverrideDxe.uni\r
37 FILE_GUID = 35034CE2-A6E5-4fb4-BABE-A0156E9B2549\r
38 MODULE_TYPE = DXE_DRIVER\r
39 VERSION_STRING = 1.0\r
40 ENTRY_POINT = PlatDriOverrideDxeInit\r
41 UNLOAD_IMAGE = PlatDriOverrideDxeUnload\r
42\r
43#\r
44# The following information is for reference only and not required by the build tools.\r
45#\r
46# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
47#\r
48\r
49[Sources]\r
50 VfrStrings.uni\r
51 Vfr.vfr\r
52 PlatDriOverrideDxe.c\r
53 PlatOverMngr.h\r
54 PlatDriOverrideLib.c\r
55 InternalPlatDriOverrideDxe.h\r
56\r
57[Packages]\r
58 MdePkg/MdePkg.dec\r
59 MdeModulePkg/MdeModulePkg.dec\r
60\r
61[LibraryClasses]\r
62 BaseLib\r
63 DebugLib\r
64 UefiLib\r
65 UefiDriverEntryPoint\r
66 UefiBootServicesTableLib\r
67 HiiLib\r
68 BaseMemoryLib\r
69 MemoryAllocationLib\r
70 DevicePathLib\r
71 DxeServicesTableLib\r
72 UefiRuntimeServicesTableLib\r
73 PrintLib \r
74 \r
75[Guids]\r
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
81 # There could be more than one variables, from PlatDriOver, PlatDriOver1, PlatDriOver2,...\r
82 # gEfiCallerIdGuid ## Private ## Variable:L"PlatDriOver"\r
83 #\r
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
91\r
92[Protocols]\r
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
98\r
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
102\r
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
110\r
111[Depex]\r
112 gEfiFormBrowser2ProtocolGuid AND gEfiHiiConfigRoutingProtocolGuid\r
113\r
114[UserExtensions.TianoCore."ExtraFiles"]\r
115 PlatDriOverrideDxeExtra.uni\r