]> git.proxmox.com Git - mirror_edk2.git/blob - Nt32Pkg/Nt32Pkg.dsc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 - 2018, 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.PcdImageProtectionPolicy|0x00000000
269 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
270 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
271 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
272 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
273 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Nt32.fd"
274 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000
275 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
276 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
277 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
278
279 !if $(ALLOW_HTTP_CONNECTIONS) == TRUE
280 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
281 !endif
282
283
284 !if $(SECURE_BOOT_ENABLE) == TRUE
285 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
286 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
287 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
288 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
289 !endif
290
291 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
292
293
294 ################################################################################
295 #
296 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
297 #
298 ################################################################################
299 [PcdsDynamicDefault.common.DEFAULT]
300 gEfiNt32PkgTokenSpaceGuid.PcdWinNtSerialPort|L"COM1!COM2"|VOID*|20
301 gEfiNt32PkgTokenSpaceGuid.PcdWinNtGop|L"UGA Window 1!UGA Window 2"|VOID*|52
302 gEfiNt32PkgTokenSpaceGuid.PcdWinNtConsole|L"Bus Driver Console Window"|VOID*|52
303 gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk|L"FW;40960;512"|VOID*|26
304 gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySize|L"64!64"|VOID*|12
305 gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk|L"a:RW;2880;512!d:RO;307200;2048!j:RW;262144;512"|VOID*|100
306 gEfiNt32PkgTokenSpaceGuid.PcdWinNtUga|L"UGA Window 1!UGA Window 2"|VOID*|52
307
308 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
309 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
310 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0
311 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
312 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
313 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
314
315 [PcdsDynamicDefault.Ia32]
316 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L"."|VOID*|106
317
318 [PcdsDynamicDefault.x64]
319 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L"."|VOID*|106
320
321 [PcdsDynamicHii.common.DEFAULT]
322 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x0|80
323 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x4|25
324 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
325 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1
326
327 ###################################################################################################
328 #
329 # Components Section - list of the modules and components that will be processed by compilation
330 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
331 #
332 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
333 # into firmware volume images. This section is just a list of modules to compile from
334 # source into UEFI-compliant binaries.
335 # It is the FDF file that contains information on combining binary files into firmware
336 # volume images, whose concept is beyond UEFI and is described in PI specification.
337 # Binary modules do not need to be listed in this section, as they should be
338 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
339 # Logo (Logo.bmp), and etc.
340 # There may also be modules listed in this section that are not required in the FDF file,
341 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
342 # generated for it, but the binary will not be put into any firmware volume.
343 #
344 ###################################################################################################
345 [Components]
346 ##
347 # SEC Phase modules
348 ##
349 Nt32Pkg/Sec/SecMain.inf
350
351 ##
352 # PEI Phase modules
353 ##
354 MdeModulePkg/Core/Pei/PeiMain.inf
355 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
356 <LibraryClasses>
357 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
358 }
359 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
360 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
361 Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf
362 Nt32Pkg/BootModePei/BootModePei.inf
363 Nt32Pkg/StallPei/StallPei.inf
364 Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
365
366 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
367 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
368
369 Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
370 Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
371 Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
372 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
373 ##
374 # DXE Phase modules
375 ##
376 MdeModulePkg/Core/Dxe/DxeMain.inf {
377 <LibraryClasses>
378 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
379 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
380 <BuildOptions>
381 *_*_*_CC_FLAGS =
382 }
383
384 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
385 <LibraryClasses>
386 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
387 }
388 Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
389 Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
390 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
391 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
392 Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
393 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
394 <LibraryClasses>
395 !if $(SECURE_BOOT_ENABLE) == TRUE
396 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
397 !endif
398 }
399 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
400 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
401 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
402 Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
403 Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
404 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
405 Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
406 Nt32Pkg/TimerDxe/TimerDxe.inf
407 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
408 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
409 Nt32Pkg/WinNtOemHookStatusCodeHandlerDxe/WinNtOemHookStatusCodeHandlerDxe.inf
410 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
411 <LibraryClasses>
412 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
413 }
414 !if $(SECURE_BOOT_ENABLE) == TRUE
415 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
416 !endif
417 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
418 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
419 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
420 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
421 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
422 <LibraryClasses>
423 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
424 }
425 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
426 <LibraryClasses>
427 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
428 }
429 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
430 <LibraryClasses>
431 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
432 }
433 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
434 <LibraryClasses>
435 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
436 }
437 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
438 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
439 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
440 FatPkg/EnhancedFatDxe/Fat.inf
441 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
442 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
443 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition
444 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition
445 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
446 Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf {
447 <LibraryClasses>
448 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
449 }
450 Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
451 Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
452 Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
453 Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
454 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
455
456 #
457 # Network stack drivers
458 # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.
459 #
460 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
461 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
462 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
463 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
464 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
465 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
466 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
467 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
468 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
469 NetworkPkg/TcpDxe/TcpDxe.inf
470 NetworkPkg/IScsiDxe/IScsiDxe.inf
471 Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
472
473 !if $(NETWORK_IP6_ENABLE) == TRUE
474 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
475 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
476 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
477 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
478 !endif
479
480 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
481 NetworkPkg/DnsDxe/DnsDxe.inf
482 NetworkPkg/HttpDxe/HttpDxe.inf
483 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
484
485 !if $(TLS_ENABLE) == TRUE
486 NetworkPkg/TlsDxe/TlsDxe.inf
487 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
488 !endif
489
490 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
491 MdeModulePkg/Application/UiApp/UiApp.inf{
492 <LibraryClasses>
493 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
494 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
495 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
496 }
497 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
498 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
499 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
500 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
501 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
502 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
503 <LibraryClasses>
504 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
505 }
506 MdeModulePkg/Application/VariableInfo/VariableInfo.inf
507
508 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
509 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf
510 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {
511 <LibraryClasses>
512 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
513 }
514 MdeModulePkg/Logo/LogoDxe.inf
515 ShellPkg/Application/Shell/Shell.inf {
516 <PcdsFixedAtBuild>
517 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
518 <LibraryClasses>
519 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
520 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
521 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
522 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
523 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
524 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
525 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
526 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
527 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
528 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
529 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
530 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
531 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
532 }
533
534 ###################################################################################################
535 #
536 # BuildOptions Section - Define the module specific tool chain flags that should be used as
537 # the default flags for a module. These flags are appended to any
538 # standard flags that are defined by the build process. They can be
539 # applied for any modules or only those modules with the specific
540 # module style (EDK or EDKII) specified in [Components] section.
541 #
542 ###################################################################################################
543 [BuildOptions]
544 DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
545 NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
546 RELEASE_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096
547
548 #############################################################################################################
549 # NOTE:
550 # The following [Libraries] section is for building EDK module under the EDKII tool chain.
551 # If you want build EDK module for Nt32 platform, please uncomment [Libraries] section and
552 # libraries used by that EDK module.
553 # Currently, Nt32 platform do not has any EDK style module
554 #
555 #
556 #[Libraries]
557 #
558 # Libraries common to PEI and DXE
559 #
560 # EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
561 # EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
562 # EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
563 # EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
564 # EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
565 # EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
566 # EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
567 # EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
568 # EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
569
570 #
571 # PEI libraries
572 #
573 # EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
574 # EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
575 # EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
576 # EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
577
578 #
579 # DXE libraries
580 #
581 # EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
582 # EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
583 # EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
584 # EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
585 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
586 # EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
587 # EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
588 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
589 # EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
590 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
591 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
592
593 #
594 # Print/Graphics Library consume SetupBrowser Print Protocol
595 #
596 # EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
597 # EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
598