blob: 923bc4e7a9da2b17e98032d753c7a87ce75d2e22 [file] [log] [blame]
lgao47b202cb2010-02-23 23:58:38 +00001## @file
qwang125fd5fcd2008-01-21 14:42:45 +00002# EFI/Framework Emulation Platform with UEFI HII interface supported.
klu225a201c2007-06-26 08:15:15 +00003#
4# The Emulation Platform can be used to debug individual modules, prior to creating
klu2d10385c2007-07-27 04:34:27 +00005# a real platform. This also provides an example for how an DSC is created.
klu225a201c2007-06-26 08:15:15 +00006#
Star Zeng71e9d092013-07-03 09:19:47 +00007# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
klu225a201c2007-06-26 08:15:15 +00008#
hhtian8f2a5f82010-04-28 12:24:39 +00009# This program and the accompanying materials
klu225a201c2007-06-26 08:15:15 +000010# are licensed and made available under the terms and conditions of the BSD License
11# which accompanies this distribution. The full text of the license may be found at
klu2ef0028a2009-02-24 16:04:22 +000012# http://opensource.org/licenses/bsd-license.php
vanjeff4cf1c1b2007-06-28 15:16:51 +000013#
klu225a201c2007-06-26 08:15:15 +000014# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
lgao47b202cb2010-02-23 23:58:38 +000017##
klu225a201c2007-06-26 08:15:15 +000018
19################################################################################
20#
21# Defines Section - statements that will be processed to create a Makefile.
22#
23################################################################################
24[Defines]
25 PLATFORM_NAME = NT32
26 PLATFORM_GUID = EB216561-961F-47EE-9EF9-CA426EF547C2
niruiyubbd53f72011-12-13 08:33:04 +000027 PLATFORM_VERSION = 0.4
klu225a201c2007-06-26 08:15:15 +000028 DSC_SPECIFICATION = 0x00010005
AJFISH409f6782007-07-27 19:07:27 +000029 OUTPUT_DIRECTORY = Build/NT32
klu225a201c2007-06-26 08:15:15 +000030 SUPPORTED_ARCHITECTURES = IA32
lgao45fa30852010-03-14 09:53:45 +000031 BUILD_TARGETS = DEBUG|RELEASE
klu225a201c2007-06-26 08:15:15 +000032 SKUID_IDENTIFIER = DEFAULT
AJFISH409f6782007-07-27 19:07:27 +000033 FLASH_DEFINITION = Nt32Pkg/Nt32Pkg.fdf
vanjeff53f79f82010-02-26 05:48:07 +000034
leegrosenbaum0ff38cb2012-04-11 16:23:41 +000035 #
36 # Defines for default states. These can be changed on the command line.
37 # -D FLAG=VALUE
38 #
39 DEFINE SECURE_BOOT_ENABLE = FALSE
klu225a201c2007-06-26 08:15:15 +000040
vanjeff2010c812007-07-04 02:30:58 +000041################################################################################
42#
43# SKU Identification section - list of all SKU IDs supported by this
44# Platform.
45#
46################################################################################
47[SkuIds]
48 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
klu225a201c2007-06-26 08:15:15 +000049
50################################################################################
51#
52# Library Class section - list of all Library Classes needed by this Platform.
53#
54################################################################################
lgao47b202cb2010-02-23 23:58:38 +000055[LibraryClasses]
lgao47cc9c452010-03-21 13:14:27 +000056 #
57 # Entry point
58 #
59 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
60 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
61 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
62 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
63 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
64 #
65 # Basic
66 #
AJFISH409f6782007-07-27 19:07:27 +000067 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
mdkinney4213ce82009-01-30 00:32:33 +000068 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
lgao47cc9c452010-03-21 13:14:27 +000069 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
xli240a525ec2008-10-25 16:19:19 +000070 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
AJFISH409f6782007-07-27 19:07:27 +000071 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
lgao47cc9c452010-03-21 13:14:27 +000072 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
73 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
74 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
75 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
76 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
77 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
78 #
79 # UEFI & PI
80 #
81 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
82 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
83 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
84 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
lgao43f077282009-04-13 05:52:07 +000085 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
qhuang84797d4c2008-11-13 09:27:05 +000086 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +000087 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
lgao47cc9c452010-03-21 13:14:27 +000088 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
89 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
90 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
91 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
92 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
93
94 #
95 # Generic Modules
96 #
97 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
98 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
99 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
100 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
101 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
102 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
103 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
104 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
Eric Dong6b1ac442013-08-12 02:25:59 +0000105 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
lgao48273af42009-11-26 01:33:07 +0000106 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
lgao47cc9c452010-03-21 13:14:27 +0000107 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
108 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
109 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
110 #
111 # Platform
112 #
113 PlatformBdsLib|Nt32Pkg/Library/Nt32BdsLib/Nt32BdsLib.inf
114 #
115 # Misc
116 #
117 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
mdkinney48fff862011-03-10 22:19:15 +0000118 DebugPrintErrorLevelLib|MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.inf
lgao47cc9c452010-03-21 13:14:27 +0000119 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
vanjeff53f79f82010-02-26 05:48:07 +0000120 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeff55b17532012-03-15 05:54:00 +0000121 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000122
123!if $(SECURE_BOOT_ENABLE) == TRUE
124 PlatformSecureLib|Nt32Pkg/Library/PlatformSecureLib/PlatformSecureLib.inf
125 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
126 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
jyao19dc2c782013-09-22 02:15:16 +0000127 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000128!endif
vanjeff53f79f82010-02-26 05:48:07 +0000129
jwang36fdcc2fd2007-07-25 06:24:23 +0000130[LibraryClasses.common.USER_DEFINED]
AJFISH409f6782007-07-27 19:07:27 +0000131 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
qhuang88e8fcb02009-03-05 15:27:16 +0000132 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
xli24663ec9c2009-12-29 09:10:44 +0000133 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
qhuang85bc18fe2009-03-03 14:12:04 +0000134 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
qhuang85bc18fe2009-03-03 14:12:04 +0000135 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
klu2d4b7ad52007-09-17 03:04:55 +0000136 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
klu225a201c2007-06-26 08:15:15 +0000137
lgao47cc9c452010-03-21 13:14:27 +0000138[LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
139 #
140 # PEI phase common
141 #
AJFISH409f6782007-07-27 19:07:27 +0000142 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
AJFISH409f6782007-07-27 19:07:27 +0000143 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
xli24663ec9c2009-12-29 09:10:44 +0000144 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4d173d9c2007-10-09 07:54:34 +0000145 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
lgao47cc9c452010-03-21 13:14:27 +0000146 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
147 IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
148 PeCoffGetEntryPointLib|Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/Nt32PeiPeCoffGetEntryPointLib.inf
149 PeCoffExtraActionLib|Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.inf
mdkinney48fff862011-03-10 22:19:15 +0000150 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
vanjeffe6ef5302007-10-16 06:28:45 +0000151
klu2869f8e32007-06-26 09:35:19 +0000152[LibraryClasses.common.PEI_CORE]
klu2d4b7ad52007-09-17 03:04:55 +0000153 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
lgao47cc9c452010-03-21 13:14:27 +0000154 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
klu225a201c2007-06-26 08:15:15 +0000155
lgao47cc9c452010-03-21 13:14:27 +0000156[LibraryClasses.common.PEIM]
157 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
158 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000159!if $(SECURE_BOOT_ENABLE) == TRUE
160 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
161!endif
lgao47cc9c452010-03-21 13:14:27 +0000162
163[LibraryClasses.common]
164 #
165 # DXE phase common
166 #
167 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000168 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
169 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
xli240a525ec2008-10-25 16:19:19 +0000170 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24663ec9c2009-12-29 09:10:44 +0000171 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
AJFISH409f6782007-07-27 19:07:27 +0000172 OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
qhuang8ffdd18b2009-03-05 09:15:30 +0000173 PeCoffExtraActionLib|Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.inf
lgao47cc9c452010-03-21 13:14:27 +0000174 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
175 WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000176!if $(SECURE_BOOT_ENABLE) == TRUE
177 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
178!endif
lgao47cc9c452010-03-21 13:14:27 +0000179
180[LibraryClasses.common.DXE_CORE]
181 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
182 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
183 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
184
185[LibraryClasses.common.DXE_SMM_DRIVER]
186 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
klu225a201c2007-06-26 08:15:15 +0000187
klu2869f8e32007-06-26 09:35:19 +0000188[LibraryClasses.common.UEFI_DRIVER]
qhuang8880cfb92008-09-02 07:20:24 +0000189 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
klu225a201c2007-06-26 08:15:15 +0000190
klu2869f8e32007-06-26 09:35:19 +0000191[LibraryClasses.common.UEFI_APPLICATION]
qhuang8880cfb92008-09-02 07:20:24 +0000192 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
qhuang8fcf24ba2009-02-23 03:20:29 +0000193 PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000194
195[LibraryClasses.common.DXE_RUNTIME_DRIVER]
196 #
197 # Runtime
198 #
hhtiancbc6b5e2012-04-16 01:31:17 +0000199!if $(SECURE_BOOT_ENABLE) == TRUE
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000200 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
hhtiancbc6b5e2012-04-16 01:31:17 +0000201!endif
vanjeff4cf1c1b2007-06-28 15:16:51 +0000202
klu225a201c2007-06-26 08:15:15 +0000203################################################################################
204#
205# Pcd Section - list of all EDK II PCD Entries defined by this Platform
206#
207################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000208[PcdsFeatureFlag]
lgao45fa30852010-03-14 09:53:45 +0000209 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
210 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
211 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
lgao4842b46a2009-02-23 14:36:37 +0000212 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
xgu395276122007-07-05 07:05:28 +0000213
lgao45fa30852010-03-14 09:53:45 +0000214[PcdsFixedAtBuild]
qhuang8b3af5df2007-08-30 09:11:54 +0000215 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
216 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
lgao45fa30852010-03-14 09:53:45 +0000217 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
qhuang8b3af5df2007-08-30 09:11:54 +0000218 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareFdSize|0x2a0000
lgao45fa30852010-03-14 09:53:45 +0000219 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
220 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Nt32.fd"
qhuang8b3af5df2007-08-30 09:11:54 +0000221 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000
lgao45fa30852010-03-14 09:53:45 +0000222 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
niruiyu963b62e2010-11-25 02:00:29 +0000223 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000224!if $(SECURE_BOOT_ENABLE) == TRUE
225 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
226!endif
227
228!if $(SECURE_BOOT_ENABLE) == TRUE
229 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
Fu Siyuandb44ea62013-08-28 09:06:40 +0000230 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
231 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
232 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000233!endif
klu225a201c2007-06-26 08:15:15 +0000234
235################################################################################
236#
237# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
238#
239################################################################################
jwang362cb630b2007-07-06 07:41:51 +0000240[PcdsDynamicDefault.common.DEFAULT]
qhuang8e527bd22010-08-31 00:37:16 +0000241 gEfiNt32PkgTokenSpaceGuid.PcdWinNtSerialPort|L"COM1!COM2"|VOID*|20
klu29c116442009-06-03 11:42:14 +0000242 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L".!..\..\..\..\EdkShellBinPkg\Bin\Ia32\Apps"|VOID*|106
qhuang8e527bd22010-08-31 00:37:16 +0000243 gEfiNt32PkgTokenSpaceGuid.PcdWinNtGop|L"UGA Window 1!UGA Window 2"|VOID*|52
244 gEfiNt32PkgTokenSpaceGuid.PcdWinNtConsole|L"Bus Driver Console Window"|VOID*|52
245 gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk|L"FW;40960;512"|VOID*|26
246 gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySize|L"64!64"|VOID*|12
qhuang8b3af5df2007-08-30 09:11:54 +0000247 gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk|L"a:RW;2880;512!d:RO;307200;2048!j:RW;262144;512"|VOID*|100
qhuang8e527bd22010-08-31 00:37:16 +0000248 gEfiNt32PkgTokenSpaceGuid.PcdWinNtUga|L"UGA Window 1!UGA Window 2"|VOID*|52
yshang16d3aa332007-08-03 08:52:48 +0000249
qhuang8b3af5df2007-08-30 09:11:54 +0000250 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
251 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
252 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0
klu225a201c2007-06-26 08:15:15 +0000253
qhuang8fcf24ba2009-02-23 03:20:29 +0000254[PcdsDynamicHii.common.DEFAULT]
Star Zeng99736b32013-08-19 04:28:15 +0000255 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x0|80
256 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x4|25
eric_tian4d6c29c2009-03-17 05:50:48 +0000257 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
258 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1
vanjeff53f79f82010-02-26 05:48:07 +0000259
xli24dcbb35e2009-02-10 08:58:47 +0000260###################################################################################################
klu225a201c2007-06-26 08:15:15 +0000261#
xli24dcbb35e2009-02-10 08:58:47 +0000262# Components Section - list of the modules and components that will be processed by compilation
263# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
klu225a201c2007-06-26 08:15:15 +0000264#
xli24dcbb35e2009-02-10 08:58:47 +0000265# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
266# into firmware volume images. This section is just a list of modules to compile from
267# source into UEFI-compliant binaries.
268# It is the FDF file that contains information on combining binary files into firmware
269# volume images, whose concept is beyond UEFI and is described in PI specification.
270# Binary modules do not need to be listed in this section, as they should be
271# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
272# Logo (Logo.bmp), and etc.
273# There may also be modules listed in this section that are not required in the FDF file,
274# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
275# generated for it, but the binary will not be put into any firmware volume.
276#
277###################################################################################################
klu225a201c2007-06-26 08:15:15 +0000278[Components.IA32]
klu204eced52007-07-06 14:56:41 +0000279 ##
280 # SEC Phase modules
281 ##
AJFISH409f6782007-07-27 19:07:27 +0000282 Nt32Pkg/Sec/SecMain.inf
vanjeff929e7bd2007-07-16 05:55:31 +0000283
klu204eced52007-07-06 14:56:41 +0000284 ##
285 # PEI Phase modules
286 ##
AJFISH409f6782007-07-27 19:07:27 +0000287 MdeModulePkg/Core/Pei/PeiMain.inf
lgao47cc9c452010-03-21 13:14:27 +0000288 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
289 <LibraryClasses>
qhuang876b0f6a2007-08-03 06:02:26 +0000290 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
291 }
xli2425126a02009-11-03 02:39:10 +0000292 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
xli24164393a2009-12-25 07:29:33 +0000293 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
xli2425126a02009-11-03 02:39:10 +0000294 Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf
AJFISH409f6782007-07-27 19:07:27 +0000295 Nt32Pkg/BootModePei/BootModePei.inf
klu2ba82cb62010-01-04 04:45:44 +0000296 Nt32Pkg/StallPei/StallPei.inf
AJFISH409f6782007-07-27 19:07:27 +0000297 Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000298
Star Zeng71e9d092013-07-03 09:19:47 +0000299 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000300!if $(SECURE_BOOT_ENABLE) == TRUE
301 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf
302!else
AJFISH409f6782007-07-27 19:07:27 +0000303 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000304!endif
305
AJFISH409f6782007-07-27 19:07:27 +0000306 Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
307 Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
308 Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
lgao4706e7532007-11-30 09:18:29 +0000309 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
klu204eced52007-07-06 14:56:41 +0000310 ##
311 # DXE Phase modules
312 ##
lgao4899bc552007-10-17 07:30:14 +0000313 MdeModulePkg/Core/Dxe/DxeMain.inf {
314 <LibraryClasses>
lgao446ffb9a2007-10-17 07:54:42 +0000315 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000316 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
lgao497ef8cf2009-03-11 03:06:25 +0000317 <BuildOptions>
vanjeff53f79f82010-02-26 05:48:07 +0000318 *_*_IA32_CC_FLAGS =
lgao4899bc552007-10-17 07:30:14 +0000319 }
lgao497ef8cf2009-03-11 03:06:25 +0000320
AJFISH409f6782007-07-27 19:07:27 +0000321 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
qhuang8b3af5df2007-08-30 09:11:54 +0000322 <LibraryClasses>
yshang1cdebf6c2007-08-15 06:17:29 +0000323 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
klu2cba90122007-07-10 08:57:25 +0000324 }
AJFISH409f6782007-07-27 19:07:27 +0000325 Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000326 Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000327 Nt32Pkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
328 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
329 Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000330 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
331 <LibraryClasses>
332!if $(SECURE_BOOT_ENABLE) == TRUE
333 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
334!endif
335 }
davidhuang1fdd39d2009-11-20 04:02:03 +0000336 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000337 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
338 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000339 Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000340 Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
lgao4eba3ff42009-03-04 01:31:34 +0000341 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000342 Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
343 Nt32Pkg/TimerDxe/TimerDxe.inf
xli2425126a02009-11-03 02:39:10 +0000344 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
xli24164393a2009-12-25 07:29:33 +0000345 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
xli2425126a02009-11-03 02:39:10 +0000346 Nt32Pkg/WinNtOemHookStatusCodeHandlerDxe/WinNtOemHookStatusCodeHandlerDxe.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000347!if $(SECURE_BOOT_ENABLE) == TRUE
348 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
349 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
350!else
AJFISH409f6782007-07-27 19:07:27 +0000351 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000352!endif
jwang36d5469f42009-02-06 08:54:41 +0000353 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
AJFISH409f6782007-07-27 19:07:27 +0000354 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
355 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
356 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
qhuang8fcf24ba2009-02-23 03:20:29 +0000357 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
358 <LibraryClasses>
359 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
360 }
rsun395318732011-03-24 11:05:27 +0000361 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
362 <LibraryClasses>
363 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
364 }
hhtian0929b782011-03-26 05:53:59 +0000365 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
366 <LibraryClasses>
367 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
368 }
Ruiyu Ni863986b2013-07-26 03:14:08 +0000369 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
370 <LibraryClasses>
371 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
372 }
AJFISH409f6782007-07-27 19:07:27 +0000373 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
374 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000375 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
davidhuang061b1c22009-10-20 03:44:03 +0000376 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000377 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition
378 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition
379 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
qhuang8880cfb92008-09-02 07:20:24 +0000380 Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf {
381 <LibraryClasses>
382 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
383 }
AJFISH409f6782007-07-27 19:07:27 +0000384 Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000385 Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
386 Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
387 Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
klu2ef0028a2009-02-24 16:04:22 +0000388 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
vanjeff929e7bd2007-07-16 05:55:31 +0000389
vanjeff593a8302007-09-04 08:42:53 +0000390 #
391 # Network stack drivers
392 # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.
393 #
vanjeff36ee91c2007-11-20 05:42:23 +0000394 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000395 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
396 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
397 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
398 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
399 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
xdu21b14ec42010-03-03 10:47:27 +0000400 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000401 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
402 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
403 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
vanjeff5276f662009-09-03 09:08:43 +0000404 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000405 Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
406
eric_tian34a2bb92009-02-26 08:05:22 +0000407 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
408
vanjeff53f79f82010-02-26 05:48:07 +0000409 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
qwang125fd5fcd2008-01-21 14:42:45 +0000410 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
Eric Dong6b1ac442013-08-12 02:25:59 +0000411 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
qwang125fd5fcd2008-01-21 14:42:45 +0000412 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
qhuang8fcf24ba2009-02-23 03:20:29 +0000413 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
qwang125fd5fcd2008-01-21 14:42:45 +0000414 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
415 <LibraryClasses>
416 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
417 }
eric_tian34a2bb92009-02-26 08:05:22 +0000418 MdeModulePkg/Application/VariableInfo/VariableInfo.inf
vanjeff53f79f82010-02-26 05:48:07 +0000419
lgao427431722009-02-24 15:37:53 +0000420 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
lgao427431722009-02-24 15:37:53 +0000421
lgao47cc9c452010-03-21 13:14:27 +0000422###################################################################################################
423#
424# BuildOptions Section - Define the module specific tool chain flags that should be used as
425# the default flags for a module. These flags are appended to any
426# standard flags that are defined by the build process. They can be
427# applied for any modules or only those modules with the specific
428# module style (EDK or EDKII) specified in [Components] section.
429#
430###################################################################################################
jwang362cb630b2007-07-06 07:41:51 +0000431[BuildOptions]
ydong10572b0ad2012-03-08 02:54:06 +0000432 DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
mdkinney23565922009-10-01 23:44:00 +0000433 RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096
jwang362529e5e2007-12-23 15:13:39 +0000434 *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006
435
klu2be0187b2007-12-26 04:51:23 +0000436#############################################################################################################
437# NOTE:
niruiyubb9f4ea2011-10-19 05:37:48 +0000438# The following [Libraries.IA32] section is for building EDK module under the EDKII tool chain.
439# If you want build EDK module for Nt32 platform, please uncomment [Libraries.IA32] section and
440# libraries used by that EDK module.
441# Currently, Nt32 platform do not has any EDK style module
vanjeff53f79f82010-02-26 05:48:07 +0000442#
klu2be0187b2007-12-26 04:51:23 +0000443#
444#[Libraries.IA32]
445 #
446 # Libraries common to PEI and DXE
447 #
qhuang8fcf24ba2009-02-23 03:20:29 +0000448 # EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
449 # EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
450 # EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
451 # EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
452 # EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
453 # EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
454 # EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
455 # EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
456 # EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
klu2be0187b2007-12-26 04:51:23 +0000457
458 #
459 # PEI libraries
460 #
qhuang8fcf24ba2009-02-23 03:20:29 +0000461 # EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
462 # EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
463 # EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
464 # EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
klu2be0187b2007-12-26 04:51:23 +0000465
466 #
467 # DXE libraries
468 #
qhuang8fcf24ba2009-02-23 03:20:29 +0000469 # EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
470 # EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
471 # EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
472 # EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
473 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
474 # EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
475 # EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
476 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
477 # EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
478 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
479 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
klu2be0187b2007-12-26 04:51:23 +0000480
481 #
482 # Print/Graphics Library consume SetupBrowser Print Protocol
483 #
qhuang8fcf24ba2009-02-23 03:20:29 +0000484 # EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
485 # EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
486