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