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