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