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