]> git.proxmox.com Git - mirror_edk2.git/blob - Nt32Pkg/Nt32Pkg.dsc
Nt32Pkg: exclude libssl functionality from OpensslLib if TLS_ENABLE=FALSE
[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 #
76 # SKU Identification section - list of all SKU IDs supported by this
77 # Platform.
78 #
79 ################################################################################
80 [SkuIds]
81 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
82
83 ################################################################################
84 #
85 # Library Class section - list of all Library Classes needed by this Platform.
86 #
87 ################################################################################
88 [LibraryClasses]
89 #
90 # Entry point
91 #
92 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
93 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
94 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
95 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
96 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
97 #
98 # Basic
99 #
100 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
101 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
102 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
103 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
104 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
105 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
106 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
107 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
108 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
109 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
110 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
111 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
112 #
113 # UEFI & PI
114 #
115 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
116 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
117 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
118 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
119 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
120 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
121 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
122 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
123 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
124 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
125 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
126 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
127 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
128 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
129
130 #
131 # Generic Modules
132 #
133 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
134 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
135 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
136 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
137 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
138 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
139 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
140 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
141 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
142 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
143 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
144 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
145 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
146 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
147 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
148 #
149 # Platform
150 #
151 PlatformBootManagerLib|Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
152 #
153 # Misc
154 #
155 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
156 DebugPrintErrorLevelLib|MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.inf
157 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
158 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
159 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
160 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
161 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
162 !if $(TLS_ENABLE) == TRUE
163 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
164 !else
165 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
166 !endif
167
168 !if $(SECURE_BOOT_ENABLE) == TRUE
169 PlatformSecureLib|Nt32Pkg/Library/PlatformSecureLib/PlatformSecureLib.inf
170 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
171 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
172 !else
173 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
174 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
175 !endif
176 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
177
178 [LibraryClasses.common.USER_DEFINED]
179 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
180 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
181 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
182 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
183 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
184 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
185
186 [LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
187 #
188 # PEI phase common
189 #
190 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
191 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
192 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
193 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
194 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
195 IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
196 PeCoffGetEntryPointLib|Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/Nt32PeiPeCoffGetEntryPointLib.inf
197 PeCoffExtraActionLib|Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.inf
198 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
199
200 [LibraryClasses.common.PEI_CORE]
201 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
202 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
203
204 [LibraryClasses.common.PEIM]
205 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
206 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
207 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
208
209 [LibraryClasses.common]
210 #
211 # DXE phase common
212 #
213 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
214 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
215 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
216 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
217 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
218 OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
219 PeCoffExtraActionLib|Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.inf
220 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
221 WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
222 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
223 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
224
225 [LibraryClasses.common.DXE_CORE]
226 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
227 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
228 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
229
230 [LibraryClasses.common.DXE_SMM_DRIVER]
231 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
232
233 [LibraryClasses.common.UEFI_DRIVER]
234 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
235
236 [LibraryClasses.common.UEFI_APPLICATION]
237 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
238 PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
239
240 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
241 #
242 # Runtime
243 #
244 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
245
246 ################################################################################
247 #
248 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
249 #
250 ################################################################################
251 [PcdsFeatureFlag]
252 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
253 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
254 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
255 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
256 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
257
258 [PcdsFixedAtBuild]
259 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
260 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
261 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
262 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
263 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Nt32.fd"
264 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000
265 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
266 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
267 !if $(SECURE_BOOT_ENABLE) == TRUE || $(TLS_ENABLE) == TRUE
268 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
269 !endif
270
271 !if $(ALLOW_HTTP_CONNECTIONS) == TRUE
272 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
273 !endif
274
275 !ifndef $(USE_OLD_SHELL)
276 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
277 !endif
278
279 !if $(SECURE_BOOT_ENABLE) == TRUE
280 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
281 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
282 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
283 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
284 !endif
285
286 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
287
288
289 ################################################################################
290 #
291 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
292 #
293 ################################################################################
294 [PcdsDynamicDefault.common.DEFAULT]
295 gEfiNt32PkgTokenSpaceGuid.PcdWinNtSerialPort|L"COM1!COM2"|VOID*|20
296 gEfiNt32PkgTokenSpaceGuid.PcdWinNtGop|L"UGA Window 1!UGA Window 2"|VOID*|52
297 gEfiNt32PkgTokenSpaceGuid.PcdWinNtConsole|L"Bus Driver Console Window"|VOID*|52
298 gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk|L"FW;40960;512"|VOID*|26
299 gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySize|L"64!64"|VOID*|12
300 gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk|L"a:RW;2880;512!d:RO;307200;2048!j:RW;262144;512"|VOID*|100
301 gEfiNt32PkgTokenSpaceGuid.PcdWinNtUga|L"UGA Window 1!UGA Window 2"|VOID*|52
302
303 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
304 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
305 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0
306 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
307 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
308 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
309
310 [PcdsDynamicDefault.Ia32]
311 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L".!..\..\..\..\EdkShellBinPkg\Bin\Ia32\Apps"|VOID*|106
312
313 [PcdsDynamicDefault.x64]
314 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L".!..\..\..\..\EdkShellBinPkg\Bin\X64\Apps"|VOID*|106
315
316 [PcdsDynamicHii.common.DEFAULT]
317 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x0|80
318 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x4|25
319 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
320 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1
321
322 ###################################################################################################
323 #
324 # Components Section - list of the modules and components that will be processed by compilation
325 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
326 #
327 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
328 # into firmware volume images. This section is just a list of modules to compile from
329 # source into UEFI-compliant binaries.
330 # It is the FDF file that contains information on combining binary files into firmware
331 # volume images, whose concept is beyond UEFI and is described in PI specification.
332 # Binary modules do not need to be listed in this section, as they should be
333 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
334 # Logo (Logo.bmp), and etc.
335 # There may also be modules listed in this section that are not required in the FDF file,
336 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
337 # generated for it, but the binary will not be put into any firmware volume.
338 #
339 ###################################################################################################
340 [Components]
341 ##
342 # SEC Phase modules
343 ##
344 Nt32Pkg/Sec/SecMain.inf {
345 <BuildOptions>
346 # Add override here, because default X64_CC_FLAGS is already overriden in DSC
347 MSFT:*_*_X64_CC_FLAGS == /nologo /W4 /WX /Gy /c /D UNICODE /Od /FIAutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE
348 }
349
350 ##
351 # PEI Phase modules
352 ##
353 MdeModulePkg/Core/Pei/PeiMain.inf
354 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
355 <LibraryClasses>
356 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
357 }
358 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
359 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
360 Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf
361 Nt32Pkg/BootModePei/BootModePei.inf
362 Nt32Pkg/StallPei/StallPei.inf
363 Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
364
365 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
366 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
367
368 Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
369 Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
370 Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
371 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
372 ##
373 # DXE Phase modules
374 ##
375 MdeModulePkg/Core/Dxe/DxeMain.inf {
376 <LibraryClasses>
377 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
378 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
379 <BuildOptions>
380 *_*_*_CC_FLAGS =
381 }
382
383 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
384 <LibraryClasses>
385 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
386 }
387 Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
388 Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
389 Nt32Pkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
390 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
391 Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
392 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
393 <LibraryClasses>
394 !if $(SECURE_BOOT_ENABLE) == TRUE
395 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
396 !endif
397 }
398 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
399 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
400 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
401 Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
402 Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
403 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
404 Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
405 Nt32Pkg/TimerDxe/TimerDxe.inf
406 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
407 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
408 Nt32Pkg/WinNtOemHookStatusCodeHandlerDxe/WinNtOemHookStatusCodeHandlerDxe.inf
409 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
410 <LibraryClasses>
411 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
412 }
413 !if $(SECURE_BOOT_ENABLE) == TRUE
414 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
415 !endif
416 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
417 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
418 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
419 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
420 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
421 <LibraryClasses>
422 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
423 }
424 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
425 <LibraryClasses>
426 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
427 }
428 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
429 <LibraryClasses>
430 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
431 }
432 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
433 <LibraryClasses>
434 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
435 }
436 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
437 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
438 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
439 FatPkg/EnhancedFatDxe/Fat.inf
440 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
441 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition
442 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition
443 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
444 Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf {
445 <LibraryClasses>
446 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
447 }
448 Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
449 Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
450 Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
451 Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
452 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
453
454 #
455 # Network stack drivers
456 # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.
457 #
458 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
459 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
460 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
461 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
462 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
463 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
464 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
465 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
466 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
467 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
468 Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
469
470 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
471
472 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
473 NetworkPkg/DnsDxe/DnsDxe.inf
474 NetworkPkg/HttpDxe/HttpDxe.inf
475 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
476
477 !if $(TLS_ENABLE) == TRUE
478 NetworkPkg/TlsDxe/TlsDxe.inf
479 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
480 !endif
481
482 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
483 MdeModulePkg/Application/UiApp/UiApp.inf{
484 <LibraryClasses>
485 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
486 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
487 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
488 }
489 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
490 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
491 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
492 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
493 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
494 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
495 <LibraryClasses>
496 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
497 }
498 MdeModulePkg/Application/VariableInfo/VariableInfo.inf
499
500 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
501 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf
502 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {
503 <LibraryClasses>
504 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
505 }
506 MdeModulePkg/Logo/LogoDxe.inf
507
508 ###################################################################################################
509 #
510 # BuildOptions Section - Define the module specific tool chain flags that should be used as
511 # the default flags for a module. These flags are appended to any
512 # standard flags that are defined by the build process. They can be
513 # applied for any modules or only those modules with the specific
514 # module style (EDK or EDKII) specified in [Components] section.
515 #
516 ###################################################################################################
517 [BuildOptions]
518 DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
519 NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
520 RELEASE_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096
521
522 #############################################################################################################
523 # NOTE:
524 # The following [Libraries] section is for building EDK module under the EDKII tool chain.
525 # If you want build EDK module for Nt32 platform, please uncomment [Libraries] section and
526 # libraries used by that EDK module.
527 # Currently, Nt32 platform do not has any EDK style module
528 #
529 #
530 #[Libraries]
531 #
532 # Libraries common to PEI and DXE
533 #
534 # EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
535 # EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
536 # EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
537 # EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
538 # EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
539 # EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
540 # EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
541 # EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
542 # EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
543
544 #
545 # PEI libraries
546 #
547 # EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
548 # EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
549 # EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
550 # EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
551
552 #
553 # DXE libraries
554 #
555 # EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
556 # EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
557 # EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
558 # EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
559 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
560 # EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
561 # EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
562 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
563 # EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
564 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
565 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
566
567 #
568 # Print/Graphics Library consume SetupBrowser Print Protocol
569 #
570 # EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
571 # EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
572