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