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