]> git.proxmox.com Git - mirror_edk2.git/blame - Nt32Pkg/Nt32Pkg.dsc
MdeModulePkg/DxeCore: base code protection on permission attributes
[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
JW
161 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
162 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
0ff38cbf 163 \r
164!if $(SECURE_BOOT_ENABLE) == TRUE\r
165 PlatformSecureLib|Nt32Pkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
9dc2c78d 166 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
3c0e9029
SZ
167 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
168!else\r
169 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
170 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
0ff38cbf 171!endif\r
5ad1e00d 172 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
53f79f86 173\r
fdcc2fdc 174[LibraryClasses.common.USER_DEFINED]\r
409f6780 175 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
8e8fcb0e 176 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
663ec9c0 177 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
5bc18fec 178 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf\r
5bc18fec 179 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
d4b7ad52 180 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
25a201c6 181\r
7cc9c452
LG
182[LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]\r
183 #\r
184 # PEI phase common\r
185 #\r
409f6780 186 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
409f6780 187 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
663ec9c0 188 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
d173d9c7 189 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
ba571110 190 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf\r
409f6780 191 IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf\r
409f6780 192 PeCoffGetEntryPointLib|Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/Nt32PeiPeCoffGetEntryPointLib.inf\r
ffdd18bb 193 PeCoffExtraActionLib|Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.inf\r
48fff860 194 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
25a201c6 195\r
7cc9c452
LG
196[LibraryClasses.common.PEI_CORE]\r
197 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
198 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
199\r
200[LibraryClasses.common.PEIM]\r
201 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
202 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf\r
0ff38cbf 203 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
7cc9c452
LG
204\r
205[LibraryClasses.common]\r
206 #\r
207 # DXE phase common\r
208 #\r
209 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
409f6780
A
210 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
211 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
0a525ec0 212 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
663ec9c0 213 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
409f6780 214 OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf\r
ffdd18bb 215 PeCoffExtraActionLib|Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.inf\r
7cc9c452
LG
216 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
217 WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf\r
0ff38cbf 218 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
c9b78304 219 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
25a201c6 220\r
7cc9c452
LG
221[LibraryClasses.common.DXE_CORE]\r
222 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
223 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
880cfb98 224 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
25a201c6 225\r
7cc9c452
LG
226[LibraryClasses.common.DXE_SMM_DRIVER]\r
227 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
228\r
229[LibraryClasses.common.UEFI_DRIVER]\r
230 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
25a201c6 231\r
869f8e34 232[LibraryClasses.common.UEFI_APPLICATION]\r
811e73ac 233 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
fcf24bad 234 PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf\r
0ff38cbf 235 \r
236[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
237 #\r
238 # Runtime\r
239 #\r
240 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
4cf1c1b5 241\r
25a201c6 242################################################################################\r
243#\r
244# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
245#\r
246################################################################################\r
7b202cb0 247[PcdsFeatureFlag]\r
5fa30855
LG
248 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
249 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
f66a43b2 250 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE\r
5fa30855 251 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE\r
842b46a4 252 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE\r
95276127 253\r
5fa30855 254[PcdsFixedAtBuild]\r
b3af5df6 255 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0\r
256 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0\r
5fa30855 257 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040\r
5fa30855
LG
258 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r
259 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Nt32.fd"\r
b3af5df6 260 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000\r
5fa30855 261 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r
963b62ee 262 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
c9b78304 263!if $(SECURE_BOOT_ENABLE) == TRUE || $(TLS_ENABLE) == TRUE\r
0ff38cbf 264 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
265!endif\r
266\r
7c3c53e5
JW
267!if $(ALLOW_HTTP_CONNECTIONS) == TRUE\r
268 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
269!endif\r
270\r
2790926d
RN
271!ifndef $(USE_OLD_SHELL)\r
272 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
273!endif\r
274\r
0ff38cbf 275!if $(SECURE_BOOT_ENABLE) == TRUE\r
276 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
db44ea6c
FS
277 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
278 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
279 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
0ff38cbf 280!endif\r
f2993c02
ED
281 \r
282 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
283\r
25a201c6 284\r
285################################################################################\r
286#\r
287# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
288#\r
289################################################################################\r
2cb630b1 290[PcdsDynamicDefault.common.DEFAULT]\r
e527bd20 291 gEfiNt32PkgTokenSpaceGuid.PcdWinNtSerialPort|L"COM1!COM2"|VOID*|20\r
e527bd20 292 gEfiNt32PkgTokenSpaceGuid.PcdWinNtGop|L"UGA Window 1!UGA Window 2"|VOID*|52\r
293 gEfiNt32PkgTokenSpaceGuid.PcdWinNtConsole|L"Bus Driver Console Window"|VOID*|52\r
294 gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk|L"FW;40960;512"|VOID*|26\r
295 gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySize|L"64!64"|VOID*|12\r
b3af5df6 296 gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk|L"a:RW;2880;512!d:RO;307200;2048!j:RW;262144;512"|VOID*|100\r
e527bd20 297 gEfiNt32PkgTokenSpaceGuid.PcdWinNtUga|L"UGA Window 1!UGA Window 2"|VOID*|52\r
b3af5df6 298\r
299 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
300 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
301 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0\r
4e502412
CS
302 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r
303 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r
304 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
25a201c6 305\r
f66a43b2
JM
306[PcdsDynamicDefault.Ia32]\r
307 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L".!..\..\..\..\EdkShellBinPkg\Bin\Ia32\Apps"|VOID*|106\r
308\r
309[PcdsDynamicDefault.x64]\r
310 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L".!..\..\..\..\EdkShellBinPkg\Bin\X64\Apps"|VOID*|106\r
311\r
fcf24bad 312[PcdsDynamicHii.common.DEFAULT]\r
dd94583b
RN
313 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x0|80\r
314 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x4|25\r
315 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10\r
316 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1\r
53f79f86 317\r
dcbb35eb 318###################################################################################################\r
25a201c6 319#\r
dcbb35eb 320# Components Section - list of the modules and components that will be processed by compilation\r
321# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
25a201c6 322#\r
dcbb35eb 323# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
324# into firmware volume images. This section is just a list of modules to compile from\r
325# source into UEFI-compliant binaries.\r
326# It is the FDF file that contains information on combining binary files into firmware\r
327# volume images, whose concept is beyond UEFI and is described in PI specification.\r
328# Binary modules do not need to be listed in this section, as they should be\r
329# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
330# Logo (Logo.bmp), and etc.\r
331# There may also be modules listed in this section that are not required in the FDF file,\r
332# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
333# generated for it, but the binary will not be put into any firmware volume.\r
334#\r
335###################################################################################################\r
f66a43b2 336[Components]\r
04eced5b 337 ##\r
338 # SEC Phase modules\r
339 ##\r
f66a43b2
JM
340 Nt32Pkg/Sec/SecMain.inf {\r
341 <BuildOptions>\r
342 # Add override here, because default X64_CC_FLAGS is already overriden in DSC\r
343 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
344 }\r
929e7bd1 345\r
04eced5b 346 ##\r
347 # PEI Phase modules\r
348 ##\r
409f6780 349 MdeModulePkg/Core/Pei/PeiMain.inf\r
7cc9c452
LG
350 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
351 <LibraryClasses>\r
76b0f6ab 352 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
353 }\r
25126a05 354 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
164393a0 355 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
25126a05 356 Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf\r
409f6780 357 Nt32Pkg/BootModePei/BootModePei.inf\r
ba82cb67 358 Nt32Pkg/StallPei/StallPei.inf\r
409f6780 359 Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf\r
0ff38cbf 360 \r
71e9d09e 361 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
409f6780 362 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
0ff38cbf 363\r
409f6780
A
364 Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf\r
365 Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf\r
366 Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf\r
706e7534 367 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
04eced5b 368 ##\r
369 # DXE Phase modules\r
370 ##\r
899bc551
LG
371 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
372 <LibraryClasses>\r
46ffb9a4 373 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
863986b3 374 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
97ef8cff 375 <BuildOptions>\r
f66a43b2 376 *_*_*_CC_FLAGS =\r
899bc551 377 }\r
97ef8cff 378\r
409f6780 379 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
b3af5df6 380 <LibraryClasses>\r
cdebf6c6 381 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
cba9012a 382 }\r
409f6780 383 Nt32Pkg/MetronomeDxe/MetronomeDxe.inf\r
593a8308 384 Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
409f6780
A
385 Nt32Pkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
386 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
387 Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
0ff38cbf 388 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
389 <LibraryClasses>\r
390!if $(SECURE_BOOT_ENABLE) == TRUE\r
391 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
392!endif \r
393 }\r
1fdd39d3 394 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
409f6780
A
395 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
396 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
409f6780 397 Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf\r
593a8308 398 Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf\r
eba3ff4c 399 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
409f6780
A
400 Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf\r
401 Nt32Pkg/TimerDxe/TimerDxe.inf\r
25126a05 402 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
164393a0 403 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
25126a05 404 Nt32Pkg/WinNtOemHookStatusCodeHandlerDxe/WinNtOemHookStatusCodeHandlerDxe.inf\r
95ac0eba
SZ
405 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
406 <LibraryClasses>\r
407 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
408 }\r
0ff38cbf 409!if $(SECURE_BOOT_ENABLE) == TRUE\r
0ff38cbf 410 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
0ff38cbf 411!endif\r
d5469f43 412 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
409f6780
A
413 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
414 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
415 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
fcf24bad 416 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
417 <LibraryClasses>\r
418 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
419 }\r
9531873c 420 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
421 <LibraryClasses>\r
422 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
423 }\r
0929b78a
HT
424 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {\r
425 <LibraryClasses>\r
426 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
427 }\r
863986b3
RN
428 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
429 <LibraryClasses>\r
430 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
431 }\r
409f6780
A
432 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
433 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
409f6780 434 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
70dc0b80 435 FatPkg/EnhancedFatDxe/Fat.inf\r
061b1c20 436 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
409f6780
A
437 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition\r
438 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition\r
439 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
880cfb98 440 Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf {\r
441 <LibraryClasses>\r
442 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
443 }\r
409f6780 444 Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf\r
409f6780
A
445 Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf\r
446 Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf\r
447 Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf\r
ef0028a2 448 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
929e7bd1 449\r
593a8308 450 #\r
451 # Network stack drivers\r
452 # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.\r
453 #\r
36ee91ca 454 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
593a8308 455 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
456 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
593a8308 457 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
458 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
1b14ec40 459 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
593a8308 460 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
461 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
462 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
5276f667 463 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
593a8308 464 Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf\r
465\r
34a2bb9a 466 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
467\r
24662805
FS
468 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
469 NetworkPkg/DnsDxe/DnsDxe.inf\r
470 NetworkPkg/HttpDxe/HttpDxe.inf\r
4018f205 471 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
c9b78304
JW
472 \r
473!if $(TLS_ENABLE) == TRUE\r
474 NetworkPkg/TlsDxe/TlsDxe.inf\r
475 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf\r
476!endif\r
24662805 477\r
67ce479a 478 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
ce7690e2
DB
479 MdeModulePkg/Application/UiApp/UiApp.inf{\r
480 <LibraryClasses>\r
5f8f0daa
DB
481 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
482 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
483 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
ce7690e2 484 }\r
811e73ac 485 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
5fd5fcd3 486 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
6b1ac444 487 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
5fd5fcd3 488 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
fcf24bad 489 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
5fd5fcd3 490 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {\r
491 <LibraryClasses>\r
492 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
493 }\r
34a2bb9a 494 MdeModulePkg/Application/VariableInfo/VariableInfo.inf\r
53f79f86 495\r
27431725 496 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf\r
e2e9b3b4 497 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf\r
0b6dc68d
ED
498 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {\r
499 <LibraryClasses>\r
500 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
501 }\r
67ce479a 502 MdeModulePkg/Logo/LogoDxe.inf\r
27431725 503\r
7cc9c452
LG
504###################################################################################################\r
505#\r
506# BuildOptions Section - Define the module specific tool chain flags that should be used as\r
507# the default flags for a module. These flags are appended to any \r
508# standard flags that are defined by the build process. They can be \r
509# applied for any modules or only those modules with the specific \r
510# module style (EDK or EDKII) specified in [Components] section.\r
511#\r
512###################################################################################################\r
2cb630b1 513[BuildOptions]\r
f66a43b2 514 DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r
5955601c 515 NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r
f66a43b2 516 RELEASE_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096\r
2529e5e1 517\r
be0187bb 518#############################################################################################################\r
519# NOTE:\r
f66a43b2
JM
520# The following [Libraries] section is for building EDK module under the EDKII tool chain.\r
521# If you want build EDK module for Nt32 platform, please uncomment [Libraries] section and\r
bb9f4ead
RN
522# libraries used by that EDK module.\r
523# Currently, Nt32 platform do not has any EDK style module\r
53f79f86 524#\r
be0187bb 525#\r
f66a43b2 526#[Libraries]\r
be0187bb 527 #\r
528 # Libraries common to PEI and DXE\r
529 #\r
fcf24bad 530 # EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf\r
531 # EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf\r
532 # EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf\r
533 # EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf\r
534 # EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf\r
535 # EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf\r
536 # EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf\r
537 # EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf\r
538 # EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf\r
be0187bb 539\r
540 #\r
541 # PEI libraries\r
542 #\r
fcf24bad 543 # EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf\r
544 # EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf\r
545 # EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf\r
546 # EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf\r
be0187bb 547\r
548 #\r
549 # DXE libraries\r
550 #\r
fcf24bad 551 # EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf\r
552 # EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf\r
553 # EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf\r
554 # EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf\r
555 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf\r
556 # EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf\r
557 # EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf\r
558 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf\r
559 # EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf\r
560 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf\r
561 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf\r
be0187bb 562\r
563 #\r
564 # Print/Graphics Library consume SetupBrowser Print Protocol\r
565 #\r
fcf24bad 566 # EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf\r
567 # EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf\r
568\r