]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | #\r |
2 | #\r | |
3 | # Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r | |
4 | # \r\r | |
5 | # This program and the accompanying materials are licensed and made available under\r\r | |
6 | # the terms and conditions of the BSD License that accompanies this distribution. \r\r | |
7 | # The full text of the license may be found at \r\r | |
8 | # http://opensource.org/licenses/bsd-license.php. \r\r | |
9 | # \r\r | |
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r | |
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r | |
12 | # \r\r | |
13 | #\r | |
14 | #\r | |
15 | # This driver produces UEFI PLATFORM_DRIVER_OVERRIDE_PROTOCOL if this protocol doesn't exist.\r | |
16 | # It doesn't install again if this protocol exists.\r | |
17 | # It only implements one interface GetDriver of PLATFORM_DRIVER_OVERRIDE_PROTOCOL protocol\r | |
18 | # and doesn't support other two interfaces GetDriverPath, DriverLoaded.\r | |
19 | #\r | |
20 | # This driver also offers an UI interface in device manager to let user configure\r | |
21 | # platform override protocol to override the default algorithm for matching\r | |
22 | # drivers to controllers.\r | |
23 | #\r | |
24 | # The main flow:\r | |
25 | # 1. It dynamicly locate all controller device path.\r | |
26 | # 2. It dynamicly locate all drivers which support binding protocol.\r | |
27 | # 3. It export and dynamicly update two menu to let user select the\r | |
28 | # mapping between drivers to controllers.\r | |
29 | # 4. It save all the mapping info in NV variables for the following boot,\r | |
30 | # which will be consumed by GetDriver API of the produced the platform override protocol.\r | |
31 | #\r | |
32 | #\r | |
33 | ##\r | |
34 | \r | |
35 | [Defines]\r | |
36 | INF_VERSION = 0x00010005\r | |
37 | BASE_NAME = PlatformSetupDxe\r | |
38 | FILE_GUID = C1A69A12-8653-4fde-A215-48FCD95288C3\r | |
39 | MODULE_TYPE = DXE_DRIVER\r | |
40 | VERSION_STRING = 1.0\r | |
41 | ENTRY_POINT = PlatformSetupDxeInit\r | |
42 | UNLOAD_IMAGE = PlatformSetupDxeUnload\r | |
43 | \r | |
44 | #\r | |
45 | # The following information is for reference only and not required by the build tools.\r | |
46 | #\r | |
47 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r | |
48 | #\r | |
49 | \r | |
50 | [Sources]\r | |
51 | VfrStrings.uni\r | |
52 | FwVersionStrings.uni\r | |
53 | Vfr.vfr\r | |
54 | Main.vfi\r | |
55 | Boot.vfi\r | |
56 | PlatformSetupDxe.c\r | |
57 | SetupInfoRecords.c\r | |
58 | PlatformSetupDxe.h\r | |
59 | Security.vfi\r | |
60 | SouthClusterConfig.vfi\r | |
61 | Thermal.vfi\r | |
62 | SetupFunctions.c\r | |
63 | UnCore.vfi\r | |
64 | SystemComponent.vfi\r | |
65 | DebugConfig.vfi\r | |
66 | UqiList.uni\r | |
67 | \r | |
68 | [Packages]\r | |
69 | MdePkg/MdePkg.dec\r | |
70 | MdeModulePkg/MdeModulePkg.dec\r | |
71 | IntelFrameworkPkg/IntelFrameworkPkg.dec\r | |
72 | Vlv2TbltDevicePkg/PlatformPkg.dec\r | |
73 | Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec #for PchAccess.h\r | |
74 | SecurityPkg/SecurityPkg.dec\r | |
75 | \r | |
76 | [LibraryClasses]\r | |
77 | BaseLib\r | |
78 | DebugLib\r | |
79 | UefiLib\r | |
80 | UefiDriverEntryPoint\r | |
81 | UefiBootServicesTableLib\r | |
82 | HiiLib\r | |
83 | BaseMemoryLib\r | |
84 | MemoryAllocationLib\r | |
85 | DevicePathLib\r | |
86 | DxeServicesTableLib\r | |
87 | UefiRuntimeServicesTableLib\r | |
88 | PrintLib\r | |
89 | BiosIdLib\r | |
90 | CpuIA32Lib\r | |
91 | IoLib\r | |
92 | \r | |
93 | [Guids]\r | |
94 | ## This GUID C Name is not required for build since it is from UefiLib and not directly used by this module source.\r | |
95 | ## gEfiGlobalVariableGuid ## SOMETIMES_CONSUMED ## Variable:L"PlatformLang" this variable specifies the platform supported language string (RFC 4646 format)\r | |
96 | ## gEfiGlobalVariableGuid ## SOMETIMES_CONSUMED ## Variable:L"Lang" this variable specifies the platform supported language string (ISO 639-2 format)\r | |
97 | ##\r | |
98 | # There could be more than one variables, from PlatDriOver, PlatDriOver1, PlatDriOver2,...\r | |
99 | #\r | |
100 | # gEfiCallerIdGuid ## Private ## Variable:L"PlatDriOver"\r | |
101 | gEfiIfrTianoGuid ## CONSUMES ## Guid\r | |
102 | gEfiProcessorSubClassGuid\r | |
103 | gEfiMiscSubClassGuid\r | |
104 | gEfiCacheSubClassGuid\r | |
105 | gEfiMemorySubClassGuid\r | |
106 | gEfiPlatformInfoGuid\r | |
107 | gEfiNormalSetupGuid\r | |
108 | gEfiSecureBootEnableDisableGuid\r | |
109 | gOsSelectionVariableGuid\r | |
110 | gEfiGlobalVariableGuid\r | |
111 | \r | |
112 | [Protocols]\r | |
113 | gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMED (Get Driver Name if ComponentName2Protocol exists)\r | |
114 | gEfiComponentNameProtocolGuid ## SOMETIMES_CONSUMED (Get Driver Name if ComponentNameProtocol exists and ComponentName2Protocol doesn't exist)\r | |
115 | gEfiFirmwareVolume2ProtocolGuid ## SOMETIMES_CONSUMED (Get Driver Name from EFI UI section if ComponentName2Protocol and ComponentNameProtocol don't exist)\r | |
116 | gEfiPciIoProtocolGuid ## SOMETIMES_CONSUMED (Find the PCI device if PciIo protocol is installed)\r | |
117 | gEfiPciRootBridgeIoProtocolGuid\r | |
118 | gEfiBusSpecificDriverOverrideProtocolGuid ## SOMETIMES_CONSUMED (Check whether the PCI device contains one or more efi drivers in its option rom by this protocol)\r | |
119 | \r | |
120 | gEfiDriverBindingProtocolGuid ## SOMETIMES_CONSUMED\r | |
121 | gEfiLoadedImageProtocolGuid ## SOMETIMES_CONSUMED\r | |
122 | gEfiLoadedImageDevicePathProtocolGuid ## SOMETIMES_CONSUMED (Show the drivers in the second page that support DriverBindingProtocol, LoadedImageProtocol and LoadedImageDevicePathProtocol)\r | |
123 | gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMED (Show the controller device in the first page that support DevicePathProtocol)\r | |
124 | \r | |
125 | gEfiFormBrowser2ProtocolGuid ## CONSUMED\r | |
126 | gEfiHiiConfigRoutingProtocolGuid ## CONSUMED\r | |
127 | gEfiHiiConfigAccessProtocolGuid ## PRODUCED\r | |
128 | gEfiDevicePathToTextProtocolGuid ## CONSUMED\r | |
129 | \r | |
130 | gEfiDataHubProtocolGuid\r | |
131 | gEfiLegacyBiosProtocolGuid\r | |
132 | gEfiSimpleNetworkProtocolGuid\r | |
133 | \r | |
134 | gEfiDiskInfoProtocolGuid ## CONSUMED\r | |
135 | gEfiMpServiceProtocolGuid\r | |
136 | gDxePchPlatformPolicyProtocolGuid\r | |
137 | gEfiCpuIo2ProtocolGuid\r | |
138 | gEfiTdtOperationProtocolGuid\r | |
139 | gEfiSmbiosProtocolGuid ## PROTOCOL CONSUMES\r | |
140 | \r | |
141 | [Pcd.common]\r | |
142 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress\r | |
143 | \r | |
144 | [Depex]\r | |
145 | gEfiFormBrowser2ProtocolGuid AND gEfiHiiConfigRoutingProtocolGuid\r |