]>
Commit | Line | Data |
---|---|---|
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 | |
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 | |
68dbca6c | 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 | |
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 | |
e5eed7d3 | 19 | # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r |
a6f164a7 | 20 | #\r |
e5eed7d3 | 21 | # This program and the accompanying materials\r |
a6f164a7 | 22 | # are licensed and made available under the terms and conditions of the BSD License\r |
23 | # which accompanies this distribution. The full text of the license may be found at\r | |
24 | # http://opensource.org/licenses/bsd-license.php\r | |
25 | #\r | |
26 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
27 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
28 | #\r | |
6bfbb5f0 | 29 | ##\r |
a6f164a7 | 30 | \r |
31 | [Defines]\r | |
32 | INF_VERSION = 0x00010005\r | |
6d8ced29 | 33 | BASE_NAME = PlatDriOverrideDxe\r |
a6f164a7 | 34 | FILE_GUID = 35034CE2-A6E5-4fb4-BABE-A0156E9B2549\r |
6d8ced29 | 35 | MODULE_TYPE = DXE_DRIVER\r |
a6f164a7 | 36 | VERSION_STRING = 1.0\r |
6d8ced29 LG |
37 | ENTRY_POINT = PlatDriOverrideDxeInit\r |
38 | UNLOAD_IMAGE = PlatDriOverrideDxeUnload\r | |
a6f164a7 | 39 | \r |
40 | #\r | |
41 | # The following information is for reference only and not required by the build tools.\r | |
42 | #\r | |
43 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r | |
44 | #\r | |
45 | \r | |
6bfbb5f0 | 46 | [Sources]\r |
6d8ced29 LG |
47 | VfrStrings.uni\r |
48 | Vfr.vfr\r | |
49 | PlatDriOverrideDxe.c\r | |
50 | PlatOverMngr.h\r | |
51 | PlatDriOverrideLib.c\r | |
52 | InternalPlatDriOverrideDxe.h\r | |
a6f164a7 | 53 | \r |
54 | [Packages]\r | |
55 | MdePkg/MdePkg.dec\r | |
56 | MdeModulePkg/MdeModulePkg.dec\r | |
57 | \r | |
58 | [LibraryClasses]\r | |
59 | BaseLib\r | |
a6f164a7 | 60 | DebugLib\r |
6d8ced29 LG |
61 | UefiLib\r |
62 | UefiDriverEntryPoint\r | |
68dbca6c | 63 | UefiBootServicesTableLib\r |
6d8ced29 LG |
64 | HiiLib\r |
65 | BaseMemoryLib\r | |
66 | MemoryAllocationLib\r | |
67 | DevicePathLib\r | |
68 | DxeServicesTableLib\r | |
69 | UefiRuntimeServicesTableLib\r | |
70 | PrintLib \r | |
71 | \r | |
72 | [Guids]\r | |
73 | ## This GUID C Name is not required for build since it is from UefiLib and not directly used by this module source.\r | |
74 | ## gEfiGlobalVariableGuid ## SOMETIMES_CONSUMED ## Variable:L"PlatformLang" this variable specifies the platform supported language string (RFC 4646 format)\r | |
75 | ## gEfiGlobalVariableGuid ## SOMETIMES_CONSUMED ## Variable:L"Lang" this variable specifies the platform supported language string (ISO 639-2 format)\r | |
76 | ##\r | |
77 | # There could be more than one variables, from PlatDriOver, PlatDriOver1, PlatDriOver2,...\r | |
78 | #\r | |
79 | # gEfiCallerIdGuid ## Private ## Variable:L"PlatDriOver"\r | |
80 | gEfiIfrTianoGuid ## CONSUMES ## Guid\r | |
a6f164a7 | 81 | \r |
68dbca6c | 82 | [Protocols]\r |
6d8ced29 LG |
83 | gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMED (Get Driver Name if ComponentName2Protocol exists)\r |
84 | gEfiComponentNameProtocolGuid ## SOMETIMES_CONSUMED (Get Driver Name if ComponentNameProtocol exists and ComponentName2Protocol doesn't exist)\r | |
85 | gEfiFirmwareVolume2ProtocolGuid ## SOMETIMES_CONSUMED (Get Driver Name from EFI UI section if ComponentName2Protocol and ComponentNameProtocol don't exist)\r | |
86 | gEfiPciIoProtocolGuid ## SOMETIMES_CONSUMED (Find the PCI device if PciIo protocol is installed)\r | |
87 | gEfiBusSpecificDriverOverrideProtocolGuid ## SOMETIMES_CONSUMED (Check whether the PCI device contains one or more efi drivers in its option rom by this protocol) \r | |
88 | \r | |
89 | gEfiDriverBindingProtocolGuid ## SOMETIMES_CONSUMED\r | |
90 | gEfiLoadedImageProtocolGuid ## SOMETIMES_CONSUMED\r | |
91 | gEfiLoadedImageDevicePathProtocolGuid ## SOMETIMES_CONSUMED (Show the drivers in the second page that support DriverBindingProtocol, LoadedImageProtocol and LoadedImageDevicePathProtocol)\r | |
92 | gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMED (Show the controller device in the first page that support DevicePathProtocol)\r | |
93 | \r | |
6d8ced29 LG |
94 | gEfiFormBrowser2ProtocolGuid ## CONSUMED\r |
95 | gEfiHiiConfigRoutingProtocolGuid ## CONSUMED\r | |
96 | gEfiHiiConfigAccessProtocolGuid ## PRODUCED\r | |
97 | gEfiDevicePathToTextProtocolGuid ## CONSUMED\r | |
98 | gEfiPlatformDriverOverrideProtocolGuid ## PRODUCED\r | |
c9eb1bae | 99 | \r |
100 | [Depex]\r | |
101 | gEfiFormBrowser2ProtocolGuid AND gEfiHiiConfigRoutingProtocolGuid |