]> git.proxmox.com Git - mirror_edk2.git/blob - Nt32Pkg/Nt32Pkg.dsc
Nt32Pkg: Enable UDF file system support
[mirror_edk2.git] / Nt32Pkg / Nt32Pkg.dsc
1 ## @file
2 # EFI/Framework Emulation Platform with UEFI HII interface supported.
3 #
4 # The Emulation Platform can be used to debug individual modules, prior to creating
5 # a real platform. This also provides an example for how an DSC is created.
6 #
7 # Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
8 # Copyright (c) 2015, Hewlett-Packard Development Company, L.P.<BR>
9 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
10 #
11 # This program and the accompanying materials
12 # are licensed and made available under the terms and conditions of the BSD License
13 # which accompanies this distribution. The full text of the license may be found at
14 # http://opensource.org/licenses/bsd-license.php
15 #
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #
19 ##
20
21 ################################################################################
22 #
23 # Defines Section - statements that will be processed to create a Makefile.
24 #
25 ################################################################################
26 [Defines]
27 PLATFORM_NAME = NT32
28 PLATFORM_GUID = EB216561-961F-47EE-9EF9-CA426EF547C2
29 PLATFORM_VERSION = 0.4
30 DSC_SPECIFICATION = 0x00010005
31 OUTPUT_DIRECTORY = Build/NT32$(ARCH)
32 SUPPORTED_ARCHITECTURES = IA32|X64
33 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
34 SKUID_IDENTIFIER = DEFAULT
35 FLASH_DEFINITION = Nt32Pkg/Nt32Pkg.fdf
36 #
37 # This flag is to control tool to generate PCD info for dynamic(ex) PCD,
38 # then enable or disable PCD info feature. TRUE is enable, and FLASE is disable.
39 # If the flag is absent, it will be same as FALSE.
40 #
41 PCD_INFO_GENERATION = TRUE
42
43 #
44 # Defines for default states. These can be changed on the command line.
45 # -D FLAG=VALUE
46 #
47 # Note: Secure Boot feature highly depends on the OpenSSL building. To enable this
48 # feature, please follow the instructions found in the file "Patch-HOWTO.txt"
49 # located in CryptoPkg\Library\OpensslLib to enable the OpenSSL building first.
50 #
51 DEFINE SECURE_BOOT_ENABLE = FALSE
52
53 #
54 # This flag is to enable or disable TLS feature.
55 # These can be changed on the command line.
56 # -D FLAG=VALUE
57 #
58 # Note: TLS feature highly depends on the OpenSSL building. To enable this
59 # feature, please follow the instructions found in the file "Patch-HOWTO.txt"
60 # located in CryptoPkg\Library\OpensslLib to enable the OpenSSL building first.
61 #
62 DEFINE TLS_ENABLE = FALSE
63
64 #
65 # Indicates whether HTTP connections (i.e., unsecured) are permitted or not.
66 # -D FLAG=VALUE
67 #
68 # Note: If ALLOW_HTTP_CONNECTIONS is TRUE, HTTP connections are allowed. Both
69 # the "https://" and "http://" URI schemes are permitted. Otherwise, HTTP
70 # connections are denied. Only the "https://" URI scheme is permitted.
71 #
72 DEFINE ALLOW_HTTP_CONNECTIONS = TRUE
73
74 #
75 # This flag is to enable or disable IPv6 network stack.
76 # These can be changed on the command line.
77 # -D FLAG=VALUE
78 #
79 DEFINE NETWORK_IP6_ENABLE = FALSE
80
81 ################################################################################
82 #
83 # SKU Identification section - list of all SKU IDs supported by this
84 # Platform.
85 #
86 ################################################################################
87 [SkuIds]
88 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
89
90 ################################################################################
91 #
92 # Library Class section - list of all Library Classes needed by this Platform.
93 #
94 ################################################################################
95 [LibraryClasses]
96 #
97 # Entry point
98 #
99 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
100 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
101 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
102 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
103 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
104 #
105 # Basic
106 #
107 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
108 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
109 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
110 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
111 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
112 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
113 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
114 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
115 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
116 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
117 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
118 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
119 #
120 # UEFI & PI
121 #
122 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
123 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
124 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
125 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
126 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
127 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
128 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
129 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
130 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
131 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
132 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
133 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
134 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
135 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
136
137 #
138 # Generic Modules
139 #
140 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
141 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
142 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
143 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
144 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
145 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
146 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
147 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
148 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
149 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
150 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
151 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
152 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
153 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
154 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
155 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
156 #
157 # Platform
158 #
159 PlatformBootManagerLib|Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
160 #
161 # Misc
162 #
163 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
164 DebugPrintErrorLevelLib|MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.inf
165 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
166 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
167 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
168 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
169 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
170 ResetSystemLib|Nt32Pkg/Library/ResetSystemLib/ResetSystemLib.inf
171 !if $(TLS_ENABLE) == TRUE
172 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
173 !else
174 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
175 !endif
176
177 !if $(SECURE_BOOT_ENABLE) == TRUE
178 PlatformSecureLib|Nt32Pkg/Library/PlatformSecureLib/PlatformSecureLib.inf
179 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
180 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
181 !else
182 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
183 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
184 !endif
185 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
186
187 [LibraryClasses.common.USER_DEFINED]
188 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
189 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
190 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
191 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
192 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
193 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
194
195 [LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
196 #
197 # PEI phase common
198 #
199 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
200 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
201 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
202 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
203 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
204 IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
205 PeCoffGetEntryPointLib|Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/Nt32PeiPeCoffGetEntryPointLib.inf
206 PeCoffExtraActionLib|Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.inf
207 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
208
209 [LibraryClasses.common.PEI_CORE]
210 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
211 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
212
213 [LibraryClasses.common.PEIM]
214 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
215 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
216 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
217
218 [LibraryClasses.common]
219 #
220 # DXE phase common
221 #
222 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
223 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
224 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
225 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
226 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
227 OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
228 PeCoffExtraActionLib|Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.inf
229 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
230 WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
231 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
232 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
233
234 [LibraryClasses.common.DXE_CORE]
235 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
236 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
237 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
238
239 [LibraryClasses.common.DXE_SMM_DRIVER]
240 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
241
242 [LibraryClasses.common.UEFI_DRIVER]
243 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
244
245 [LibraryClasses.common.UEFI_APPLICATION]
246 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
247 PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
248
249 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
250 #
251 # Runtime
252 #
253 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
254
255 ################################################################################
256 #
257 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
258 #
259 ################################################################################
260 [PcdsFeatureFlag]
261 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
262 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
263 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
264 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
265 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
266
267 [PcdsFixedAtBuild]
268 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
269 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
270 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
271 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
272 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Nt32.fd"
273 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000
274 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
275 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
276 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
277
278 !if $(ALLOW_HTTP_CONNECTIONS) == TRUE
279 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
280 !endif
281
282 !ifndef $(USE_OLD_SHELL)
283 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
284 !endif
285
286 !if $(SECURE_BOOT_ENABLE) == TRUE
287 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
288 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
289 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
290 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
291 !endif
292
293 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
294
295
296 ################################################################################
297 #
298 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
299 #
300 ################################################################################
301 [PcdsDynamicDefault.common.DEFAULT]
302 gEfiNt32PkgTokenSpaceGuid.PcdWinNtSerialPort|L"COM1!COM2"|VOID*|20
303 gEfiNt32PkgTokenSpaceGuid.PcdWinNtGop|L"UGA Window 1!UGA Window 2"|VOID*|52
304 gEfiNt32PkgTokenSpaceGuid.PcdWinNtConsole|L"Bus Driver Console Window"|VOID*|52
305 gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk|L"FW;40960;512"|VOID*|26
306 gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySize|L"64!64"|VOID*|12
307 gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk|L"a:RW;2880;512!d:RO;307200;2048!j:RW;262144;512"|VOID*|100
308 gEfiNt32PkgTokenSpaceGuid.PcdWinNtUga|L"UGA Window 1!UGA Window 2"|VOID*|52
309
310 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
311 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
312 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0
313 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
314 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
315 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
316
317 [PcdsDynamicDefault.Ia32]
318 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L".!..\..\..\..\EdkShellBinPkg\Bin\Ia32\Apps"|VOID*|106
319
320 [PcdsDynamicDefault.x64]
321 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L".!..\..\..\..\EdkShellBinPkg\Bin\X64\Apps"|VOID*|106
322
323 [PcdsDynamicHii.common.DEFAULT]
324 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x0|80
325 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x4|25
326 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
327 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1
328
329 ###################################################################################################
330 #
331 # Components Section - list of the modules and components that will be processed by compilation
332 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
333 #
334 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
335 # into firmware volume images. This section is just a list of modules to compile from
336 # source into UEFI-compliant binaries.
337 # It is the FDF file that contains information on combining binary files into firmware
338 # volume images, whose concept is beyond UEFI and is described in PI specification.
339 # Binary modules do not need to be listed in this section, as they should be
340 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
341 # Logo (Logo.bmp), and etc.
342 # There may also be modules listed in this section that are not required in the FDF file,
343 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
344 # generated for it, but the binary will not be put into any firmware volume.
345 #
346 ###################################################################################################
347 [Components]
348 ##
349 # SEC Phase modules
350 ##
351 Nt32Pkg/Sec/SecMain.inf
352
353 ##
354 # PEI Phase modules
355 ##
356 MdeModulePkg/Core/Pei/PeiMain.inf
357 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
358 <LibraryClasses>
359 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
360 }
361 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
362 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
363 Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf
364 Nt32Pkg/BootModePei/BootModePei.inf
365 Nt32Pkg/StallPei/StallPei.inf
366 Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
367
368 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
369 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
370
371 Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
372 Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
373 Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
374 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
375 ##
376 # DXE Phase modules
377 ##
378 MdeModulePkg/Core/Dxe/DxeMain.inf {
379 <LibraryClasses>
380 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
381 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
382 <BuildOptions>
383 *_*_*_CC_FLAGS =
384 }
385
386 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
387 <LibraryClasses>
388 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
389 }
390 Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
391 Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
392 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
393 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
394 Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
395 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
396 <LibraryClasses>
397 !if $(SECURE_BOOT_ENABLE) == TRUE
398 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
399 !endif
400 }
401 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
402 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
403 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
404 Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
405 Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
406 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
407 Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
408 Nt32Pkg/TimerDxe/TimerDxe.inf
409 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
410 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
411 Nt32Pkg/WinNtOemHookStatusCodeHandlerDxe/WinNtOemHookStatusCodeHandlerDxe.inf
412 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
413 <LibraryClasses>
414 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
415 }
416 !if $(SECURE_BOOT_ENABLE) == TRUE
417 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
418 !endif
419 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
420 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
421 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
422 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
423 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
424 <LibraryClasses>
425 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
426 }
427 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
428 <LibraryClasses>
429 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
430 }
431 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
432 <LibraryClasses>
433 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
434 }
435 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
436 <LibraryClasses>
437 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
438 }
439 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
440 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
441 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
442 FatPkg/EnhancedFatDxe/Fat.inf
443 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
444 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
445 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition
446 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition
447 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
448 Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf {
449 <LibraryClasses>
450 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
451 }
452 Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
453 Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
454 Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
455 Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
456 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
457
458 #
459 # Network stack drivers
460 # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.
461 #
462 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
463 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
464 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
465 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
466 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
467 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
468 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
469 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
470 Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
471
472 !if $(NETWORK_IP6_ENABLE) == TRUE
473 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
474 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
475 NetworkPkg/TcpDxe/TcpDxe.inf
476 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
477 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
478 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
479 NetworkPkg/IScsiDxe/IScsiDxe.inf
480 !else
481 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
482 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
483 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
484 !endif
485
486 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
487 NetworkPkg/DnsDxe/DnsDxe.inf
488 NetworkPkg/HttpDxe/HttpDxe.inf
489 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
490
491 !if $(TLS_ENABLE) == TRUE
492 NetworkPkg/TlsDxe/TlsDxe.inf
493 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
494 !endif
495
496 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
497 MdeModulePkg/Application/UiApp/UiApp.inf{
498 <LibraryClasses>
499 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
500 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
501 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
502 }
503 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
504 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
505 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
506 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
507 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
508 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
509 <LibraryClasses>
510 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
511 }
512 MdeModulePkg/Application/VariableInfo/VariableInfo.inf
513
514 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
515 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf
516 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {
517 <LibraryClasses>
518 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
519 }
520 MdeModulePkg/Logo/LogoDxe.inf
521 ShellPkg/Application/Shell/Shell.inf {
522 <PcdsFixedAtBuild>
523 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
524 <LibraryClasses>
525 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
526 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
527 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
528 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
529 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
530 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
531 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
532 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
533 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
534 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
535 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
536 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
537 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
538 }
539
540 ###################################################################################################
541 #
542 # BuildOptions Section - Define the module specific tool chain flags that should be used as
543 # the default flags for a module. These flags are appended to any
544 # standard flags that are defined by the build process. They can be
545 # applied for any modules or only those modules with the specific
546 # module style (EDK or EDKII) specified in [Components] section.
547 #
548 ###################################################################################################
549 [BuildOptions]
550 DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
551 NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
552 RELEASE_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096
553
554 #############################################################################################################
555 # NOTE:
556 # The following [Libraries] section is for building EDK module under the EDKII tool chain.
557 # If you want build EDK module for Nt32 platform, please uncomment [Libraries] section and
558 # libraries used by that EDK module.
559 # Currently, Nt32 platform do not has any EDK style module
560 #
561 #
562 #[Libraries]
563 #
564 # Libraries common to PEI and DXE
565 #
566 # EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
567 # EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
568 # EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
569 # EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
570 # EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
571 # EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
572 # EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
573 # EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
574 # EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
575
576 #
577 # PEI libraries
578 #
579 # EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
580 # EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
581 # EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
582 # EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
583
584 #
585 # DXE libraries
586 #
587 # EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
588 # EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
589 # EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
590 # EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
591 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
592 # EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
593 # EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
594 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
595 # EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
596 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
597 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
598
599 #
600 # Print/Graphics Library consume SetupBrowser Print Protocol
601 #
602 # EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
603 # EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
604