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