]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # UEFI/PI Emulation Platform with UEFI HII interface supported.\r | |
3 | #\r | |
4 | # The Emulation Platform can be used to debug individual modules, prior to creating\r | |
5 | # a real platform. This also provides an example for how an DSC is created.\r | |
6 | #\r | |
7 | # Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r | |
8 | # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>\r | |
9 | #\r | |
10 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
11 | #\r | |
12 | ##\r | |
13 | \r | |
14 | [Defines]\r | |
15 | PLATFORM_NAME = EmulatorPkg\r | |
16 | PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D\r | |
17 | PLATFORM_VERSION = 0.3\r | |
18 | DSC_SPECIFICATION = 0x00010005\r | |
19 | OUTPUT_DIRECTORY = Build/Emulator$(ARCH)\r | |
20 | \r | |
21 | SUPPORTED_ARCHITECTURES = X64|IA32\r | |
22 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r | |
23 | SKUID_IDENTIFIER = DEFAULT\r | |
24 | FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf\r | |
25 | \r | |
26 | \r | |
27 | #\r | |
28 | # Network definition\r | |
29 | #\r | |
30 | DEFINE NETWORK_SNP_ENABLE = FALSE\r | |
31 | DEFINE NETWORK_IP6_ENABLE = FALSE\r | |
32 | DEFINE NETWORK_TLS_ENABLE = FALSE\r | |
33 | DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r | |
34 | DEFINE NETWORK_ISCSI_ENABLE = FALSE\r | |
35 | \r | |
36 | [SkuIds]\r | |
37 | 0|DEFAULT\r | |
38 | \r | |
39 | [LibraryClasses]\r | |
40 | #\r | |
41 | # Entry point\r | |
42 | #\r | |
43 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
44 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
45 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
46 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
47 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
48 | #\r | |
49 | # Basic\r | |
50 | #\r | |
51 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
52 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
53 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
54 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r | |
55 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
56 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
57 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
58 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r | |
59 | \r | |
60 | #\r | |
61 | # UEFI & PI\r | |
62 | #\r | |
63 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
64 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
65 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
66 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
67 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
68 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
69 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
70 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
71 | \r | |
72 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
73 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
74 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
75 | SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf\r | |
76 | \r | |
77 | #\r | |
78 | # Generic Modules\r | |
79 | #\r | |
80 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r | |
81 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
82 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r | |
83 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r | |
84 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r | |
85 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r | |
86 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r | |
87 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r | |
88 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
89 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r | |
90 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r | |
91 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
92 | #\r | |
93 | # Platform\r | |
94 | #\r | |
95 | PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf\r | |
96 | KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf\r | |
97 | \r | |
98 | #\r | |
99 | # Misc\r | |
100 | #\r | |
101 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
102 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
103 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
104 | PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf\r | |
105 | DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r | |
106 | LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r | |
107 | CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r | |
108 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r | |
109 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
110 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r | |
111 | SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r | |
112 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
113 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
114 | \r | |
115 | [LibraryClasses.common.SEC]\r | |
116 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r | |
117 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
118 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r | |
119 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r | |
120 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r | |
121 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r | |
122 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
123 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r | |
124 | \r | |
125 | [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]\r | |
126 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
127 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
128 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
129 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
130 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r | |
131 | ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf\r | |
132 | ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf\r | |
133 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
134 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r | |
135 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r | |
136 | \r | |
137 | \r | |
138 | [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]\r | |
139 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
140 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
141 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
142 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r | |
143 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r | |
144 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
145 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r | |
146 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
147 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r | |
148 | \r | |
149 | [LibraryClasses.common.PEI_CORE]\r | |
150 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
151 | \r | |
152 | [LibraryClasses.common.PEIM]\r | |
153 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
154 | \r | |
155 | [LibraryClasses.common.DXE_CORE]\r | |
156 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
157 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
158 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
159 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r | |
160 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
161 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
162 | TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf\r | |
163 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
164 | \r | |
165 | [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r | |
166 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
167 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
168 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
169 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
170 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
171 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r | |
172 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
173 | TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf\r | |
174 | \r | |
175 | [PcdsFeatureFlag]\r | |
176 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r | |
177 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r | |
178 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE\r | |
179 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE\r | |
180 | \r | |
181 | [PcdsFixedAtBuild]\r | |
182 | gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000\r | |
183 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r | |
184 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040\r | |
185 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r | |
186 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r | |
187 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0\r | |
188 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0\r | |
189 | \r | |
190 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000\r | |
191 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000\r | |
192 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"\r | |
193 | \r | |
194 | gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"\r | |
195 | \r | |
196 | # Change PcdBootManagerMenuFile to UiApp\r | |
197 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r | |
198 | \r | |
199 | \r | |
200 | #define BOOT_WITH_FULL_CONFIGURATION 0x00\r | |
201 | #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01\r | |
202 | #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02\r | |
203 | #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03\r | |
204 | #define BOOT_WITH_DEFAULT_SETTINGS 0x04\r | |
205 | #define BOOT_ON_S4_RESUME 0x05\r | |
206 | #define BOOT_ON_S5_RESUME 0x06\r | |
207 | #define BOOT_ON_S2_RESUME 0x10\r | |
208 | #define BOOT_ON_S3_RESUME 0x11\r | |
209 | #define BOOT_ON_FLASH_UPDATE 0x12\r | |
210 | #define BOOT_IN_RECOVERY_MODE 0x20\r | |
211 | gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0\r | |
212 | \r | |
213 | gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"\r | |
214 | \r | |
215 | # For a CD-ROM/DVD use L"diag.dmg:RO:2048"\r | |
216 | gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"\r | |
217 | gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"\r | |
218 | gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."\r | |
219 | gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"\r | |
220 | gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"\r | |
221 | \r | |
222 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"\r | |
223 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"\r | |
224 | \r | |
225 | # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r | |
226 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r | |
227 | \r | |
228 | [PcdsDynamicDefault.common.DEFAULT]\r | |
229 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r | |
230 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r | |
231 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r | |
232 | \r | |
233 | [PcdsDynamicHii.common.DEFAULT]\r | |
234 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80\r | |
235 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25\r | |
236 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10\r | |
237 | \r | |
238 | [Components]\r | |
239 | !if "IA32" in $(ARCH) || "X64" in $(ARCH)\r | |
240 | !if "MSFT" in $(FAMILY) || $(WIN_HOST_BUILD) == TRUE\r | |
241 | ##\r | |
242 | # Emulator, OS WIN application\r | |
243 | # CLANGPDB is cross OS tool chain. It depends on WIN_HOST_BUILD flag\r | |
244 | # to build WinHost application.\r | |
245 | ##\r | |
246 | EmulatorPkg/Win/Host/WinHost.inf\r | |
247 | !else\r | |
248 | ##\r | |
249 | # Emulator, OS POSIX application\r | |
250 | ##\r | |
251 | EmulatorPkg/Unix/Host/Host.inf\r | |
252 | !endif\r | |
253 | !endif\r | |
254 | \r | |
255 | !ifndef $(SKIP_MAIN_BUILD)\r | |
256 | #\r | |
257 | # Generic SEC\r | |
258 | #\r | |
259 | EmulatorPkg/Sec/Sec.inf\r | |
260 | \r | |
261 | ##\r | |
262 | # PEI Phase modules\r | |
263 | ##\r | |
264 | MdeModulePkg/Core/Pei/PeiMain.inf\r | |
265 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r | |
266 | <LibraryClasses>\r | |
267 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
268 | }\r | |
269 | MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r | |
270 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r | |
271 | \r | |
272 | EmulatorPkg/BootModePei/BootModePei.inf\r | |
273 | MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r | |
274 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r | |
275 | EmulatorPkg/AutoScanPei/AutoScanPei.inf\r | |
276 | EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf\r | |
277 | EmulatorPkg/FlashMapPei/FlashMapPei.inf\r | |
278 | EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf\r | |
279 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r | |
280 | \r | |
281 | ##\r | |
282 | # DXE Phase modules\r | |
283 | ##\r | |
284 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
285 | <LibraryClasses>\r | |
286 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
287 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r | |
288 | DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
289 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r | |
290 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
291 | }\r | |
292 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r | |
293 | <LibraryClasses>\r | |
294 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
295 | }\r | |
296 | \r | |
297 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r | |
298 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {\r | |
299 | <LibraryClasses>\r | |
300 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
301 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r | |
302 | }\r | |
303 | \r | |
304 | MdeModulePkg/Universal/Metronome/Metronome.inf\r | |
305 | EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf\r | |
306 | EmulatorPkg/ResetRuntimeDxe/Reset.inf\r | |
307 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r | |
308 | EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r | |
309 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r | |
310 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r | |
311 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r | |
312 | EmulatorPkg/EmuThunkDxe/EmuThunk.inf\r | |
313 | EmulatorPkg/CpuRuntimeDxe/Cpu.inf\r | |
314 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r | |
315 | EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf\r | |
316 | EmulatorPkg/TimerDxe/Timer.inf\r | |
317 | \r | |
318 | \r | |
319 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r | |
320 | <LibraryClasses>\r | |
321 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
322 | }\r | |
323 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r | |
324 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r | |
325 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
326 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
327 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
328 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r | |
329 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r | |
330 | <LibraryClasses>\r | |
331 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
332 | SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf\r | |
333 | }\r | |
334 | \r | |
335 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r | |
336 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r | |
337 | !if "XCODE5" not in $(TOOL_CHAIN_TAG)\r | |
338 | MdeModulePkg/Logo/LogoDxe.inf\r | |
339 | !endif\r | |
340 | MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf\r | |
341 | MdeModulePkg/Application/UiApp/UiApp.inf {\r | |
342 | <LibraryClasses>\r | |
343 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r | |
344 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r | |
345 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r | |
346 | }\r | |
347 | MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf\r | |
348 | \r | |
349 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r | |
350 | #{\r | |
351 | # <LibraryClasses>\r | |
352 | # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf\r | |
353 | #}\r | |
354 | \r | |
355 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r | |
356 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
357 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
358 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r | |
359 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r | |
360 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r | |
361 | \r | |
362 | EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf\r | |
363 | EmulatorPkg/EmuGopDxe/EmuGopDxe.inf\r | |
364 | EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf\r | |
365 | EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf\r | |
366 | EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf\r | |
367 | \r | |
368 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r | |
369 | \r | |
370 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r | |
371 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
372 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r | |
373 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r | |
374 | MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r | |
375 | MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {\r | |
376 | <LibraryClasses>\r | |
377 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
378 | }\r | |
379 | \r | |
380 | FatPkg/EnhancedFatDxe/Fat.inf\r | |
381 | \r | |
382 | !if "XCODE5" not in $(TOOL_CHAIN_TAG)\r | |
383 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r | |
384 | <PcdsFixedAtBuild>\r | |
385 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
386 | }\r | |
387 | !endif\r | |
388 | ShellPkg/Application/Shell/Shell.inf {\r | |
389 | <LibraryClasses>\r | |
390 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
391 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
392 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
393 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
394 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
395 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
396 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
397 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
398 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r | |
399 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
400 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
401 | # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r | |
402 | # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r | |
403 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r | |
404 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
405 | \r | |
406 | <PcdsFixedAtBuild>\r | |
407 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
408 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
409 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
410 | }\r | |
411 | \r | |
412 | !endif\r | |
413 | \r | |
414 | !include NetworkPkg/Network.dsc.inc\r | |
415 | \r | |
416 | [BuildOptions]\r | |
417 | #\r | |
418 | # Disable deprecated APIs.\r | |
419 | #\r | |
420 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r | |
421 | \r | |
422 | MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-\r | |
423 | MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-\r | |
424 | GCC:DEBUG_CLANGPDB_*_CC_FLAGS =-O0 -Wno-unused-command-line-argument -Wno-incompatible-pointer-types -Wno-enum-conversion -Wno-incompatible-pointer-types -Wno-sometimes-uninitialized -Wno-constant-conversion -Wno-main-return-type\r | |
425 | \r | |
426 | MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r | |
427 | MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
428 | MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
429 | \r | |
430 | !if $(WIN_HOST_BUILD) == TRUE\r | |
431 | #\r | |
432 | # CLANGPDB tool chain depends on WIN_HOST_BUILD flag to generate the windows application.\r | |
433 | #\r | |
434 | GCC:*_CLANGPDB_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r | |
435 | GCC:DEBUG_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
436 | GCC:NOOPT_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
437 | !endif\r |