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