blob: cfcfc4234d804fcfe3102508d257ff8a4f354cc8 [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
lgao48273af42009-11-26 01:33:07 +0000105 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
lgao47cc9c452010-03-21 13:14:27 +0000106 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
107 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
108 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
109 #
110 # Platform
111 #
112 PlatformBdsLib|Nt32Pkg/Library/Nt32BdsLib/Nt32BdsLib.inf
113 #
114 # Misc
115 #
116 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
mdkinney48fff862011-03-10 22:19:15 +0000117 DebugPrintErrorLevelLib|MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.inf
lgao47cc9c452010-03-21 13:14:27 +0000118 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
vanjeff53f79f82010-02-26 05:48:07 +0000119 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeff55b17532012-03-15 05:54:00 +0000120 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000121
122!if $(SECURE_BOOT_ENABLE) == TRUE
123 PlatformSecureLib|Nt32Pkg/Library/PlatformSecureLib/PlatformSecureLib.inf
124 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
125 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
126!endif
vanjeff53f79f82010-02-26 05:48:07 +0000127
jwang36fdcc2fd2007-07-25 06:24:23 +0000128[LibraryClasses.common.USER_DEFINED]
AJFISH409f6782007-07-27 19:07:27 +0000129 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
qhuang88e8fcb02009-03-05 15:27:16 +0000130 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
xli24663ec9c2009-12-29 09:10:44 +0000131 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
qhuang85bc18fe2009-03-03 14:12:04 +0000132 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
qhuang85bc18fe2009-03-03 14:12:04 +0000133 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
klu2d4b7ad52007-09-17 03:04:55 +0000134 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
klu225a201c2007-06-26 08:15:15 +0000135
lgao47cc9c452010-03-21 13:14:27 +0000136[LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
137 #
138 # PEI phase common
139 #
AJFISH409f6782007-07-27 19:07:27 +0000140 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
AJFISH409f6782007-07-27 19:07:27 +0000141 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
xli24663ec9c2009-12-29 09:10:44 +0000142 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4d173d9c2007-10-09 07:54:34 +0000143 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
lgao47cc9c452010-03-21 13:14:27 +0000144 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
145 IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
146 PeCoffGetEntryPointLib|Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/Nt32PeiPeCoffGetEntryPointLib.inf
147 PeCoffExtraActionLib|Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.inf
mdkinney48fff862011-03-10 22:19:15 +0000148 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
vanjeffe6ef5302007-10-16 06:28:45 +0000149
klu2869f8e32007-06-26 09:35:19 +0000150[LibraryClasses.common.PEI_CORE]
klu2d4b7ad52007-09-17 03:04:55 +0000151 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
lgao47cc9c452010-03-21 13:14:27 +0000152 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
klu225a201c2007-06-26 08:15:15 +0000153
lgao47cc9c452010-03-21 13:14:27 +0000154[LibraryClasses.common.PEIM]
155 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
156 OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000157!if $(SECURE_BOOT_ENABLE) == TRUE
158 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
159!endif
lgao47cc9c452010-03-21 13:14:27 +0000160
161[LibraryClasses.common]
162 #
163 # DXE phase common
164 #
165 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000166 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
167 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
xli240a525ec2008-10-25 16:19:19 +0000168 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24663ec9c2009-12-29 09:10:44 +0000169 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
AJFISH409f6782007-07-27 19:07:27 +0000170 OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
qhuang8ffdd18b2009-03-05 09:15:30 +0000171 PeCoffExtraActionLib|Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.inf
lgao47cc9c452010-03-21 13:14:27 +0000172 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
173 WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000174!if $(SECURE_BOOT_ENABLE) == TRUE
175 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
176!endif
lgao47cc9c452010-03-21 13:14:27 +0000177
178[LibraryClasses.common.DXE_CORE]
179 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
180 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
181 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
182
183[LibraryClasses.common.DXE_SMM_DRIVER]
184 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
klu225a201c2007-06-26 08:15:15 +0000185
klu2869f8e32007-06-26 09:35:19 +0000186[LibraryClasses.common.UEFI_DRIVER]
qhuang8880cfb92008-09-02 07:20:24 +0000187 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
klu225a201c2007-06-26 08:15:15 +0000188
klu2869f8e32007-06-26 09:35:19 +0000189[LibraryClasses.common.UEFI_APPLICATION]
qhuang8880cfb92008-09-02 07:20:24 +0000190 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
qhuang8fcf24ba2009-02-23 03:20:29 +0000191 PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000192
193[LibraryClasses.common.DXE_RUNTIME_DRIVER]
194 #
195 # Runtime
196 #
hhtiancbc6b5e2012-04-16 01:31:17 +0000197!if $(SECURE_BOOT_ENABLE) == TRUE
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000198 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
hhtiancbc6b5e2012-04-16 01:31:17 +0000199!endif
vanjeff4cf1c1b2007-06-28 15:16:51 +0000200
klu225a201c2007-06-26 08:15:15 +0000201################################################################################
202#
203# Pcd Section - list of all EDK II PCD Entries defined by this Platform
204#
205################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000206[PcdsFeatureFlag]
lgao45fa30852010-03-14 09:53:45 +0000207 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
208 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
209 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
lgao4842b46a2009-02-23 14:36:37 +0000210 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
xgu395276122007-07-05 07:05:28 +0000211
lgao45fa30852010-03-14 09:53:45 +0000212[PcdsFixedAtBuild]
qhuang8b3af5df2007-08-30 09:11:54 +0000213 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
214 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
lgao45fa30852010-03-14 09:53:45 +0000215 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
qhuang8b3af5df2007-08-30 09:11:54 +0000216 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareFdSize|0x2a0000
lgao45fa30852010-03-14 09:53:45 +0000217 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
218 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Nt32.fd"
qhuang8b3af5df2007-08-30 09:11:54 +0000219 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000
lgao45fa30852010-03-14 09:53:45 +0000220 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
niruiyu963b62e2010-11-25 02:00:29 +0000221 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000222!if $(SECURE_BOOT_ENABLE) == TRUE
223 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
224!endif
225
226!if $(SECURE_BOOT_ENABLE) == TRUE
227 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
228 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x05
229 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x05
230 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x05
231!endif
klu225a201c2007-06-26 08:15:15 +0000232
233################################################################################
234#
235# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
236#
237################################################################################
jwang362cb630b2007-07-06 07:41:51 +0000238[PcdsDynamicDefault.common.DEFAULT]
qhuang8e527bd22010-08-31 00:37:16 +0000239 gEfiNt32PkgTokenSpaceGuid.PcdWinNtSerialPort|L"COM1!COM2"|VOID*|20
klu29c116442009-06-03 11:42:14 +0000240 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L".!..\..\..\..\EdkShellBinPkg\Bin\Ia32\Apps"|VOID*|106
qhuang8e527bd22010-08-31 00:37:16 +0000241 gEfiNt32PkgTokenSpaceGuid.PcdWinNtGop|L"UGA Window 1!UGA Window 2"|VOID*|52
242 gEfiNt32PkgTokenSpaceGuid.PcdWinNtConsole|L"Bus Driver Console Window"|VOID*|52
243 gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk|L"FW;40960;512"|VOID*|26
244 gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySize|L"64!64"|VOID*|12
qhuang8b3af5df2007-08-30 09:11:54 +0000245 gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk|L"a:RW;2880;512!d:RO;307200;2048!j:RW;262144;512"|VOID*|100
qhuang8e527bd22010-08-31 00:37:16 +0000246 gEfiNt32PkgTokenSpaceGuid.PcdWinNtUga|L"UGA Window 1!UGA Window 2"|VOID*|52
yshang16d3aa332007-08-03 08:52:48 +0000247
qhuang8b3af5df2007-08-30 09:11:54 +0000248 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
249 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
250 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0
klu225a201c2007-06-26 08:15:15 +0000251
qhuang8fcf24ba2009-02-23 03:20:29 +0000252[PcdsDynamicHii.common.DEFAULT]
li-elvinb620a672011-11-24 01:02:31 +0000253 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"SetupConsoleConfig"|gEfiGlobalVariableGuid|0x0|80
254 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"SetupConsoleConfig"|gEfiGlobalVariableGuid|0x4|25
eric_tian4d6c29c2009-03-17 05:50:48 +0000255 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
256 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1
vanjeff53f79f82010-02-26 05:48:07 +0000257
xli24dcbb35e2009-02-10 08:58:47 +0000258###################################################################################################
klu225a201c2007-06-26 08:15:15 +0000259#
xli24dcbb35e2009-02-10 08:58:47 +0000260# Components Section - list of the modules and components that will be processed by compilation
261# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
klu225a201c2007-06-26 08:15:15 +0000262#
xli24dcbb35e2009-02-10 08:58:47 +0000263# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
264# into firmware volume images. This section is just a list of modules to compile from
265# source into UEFI-compliant binaries.
266# It is the FDF file that contains information on combining binary files into firmware
267# volume images, whose concept is beyond UEFI and is described in PI specification.
268# Binary modules do not need to be listed in this section, as they should be
269# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
270# Logo (Logo.bmp), and etc.
271# There may also be modules listed in this section that are not required in the FDF file,
272# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
273# generated for it, but the binary will not be put into any firmware volume.
274#
275###################################################################################################
klu225a201c2007-06-26 08:15:15 +0000276[Components.IA32]
klu204eced52007-07-06 14:56:41 +0000277 ##
278 # SEC Phase modules
279 ##
AJFISH409f6782007-07-27 19:07:27 +0000280 Nt32Pkg/Sec/SecMain.inf
vanjeff929e7bd2007-07-16 05:55:31 +0000281
klu204eced52007-07-06 14:56:41 +0000282 ##
283 # PEI Phase modules
284 ##
AJFISH409f6782007-07-27 19:07:27 +0000285 MdeModulePkg/Core/Pei/PeiMain.inf
lgao47cc9c452010-03-21 13:14:27 +0000286 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
287 <LibraryClasses>
qhuang876b0f6a2007-08-03 06:02:26 +0000288 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
289 }
xli2425126a02009-11-03 02:39:10 +0000290 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
xli24164393a2009-12-25 07:29:33 +0000291 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
xli2425126a02009-11-03 02:39:10 +0000292 Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf
AJFISH409f6782007-07-27 19:07:27 +0000293 Nt32Pkg/BootModePei/BootModePei.inf
klu2ba82cb62010-01-04 04:45:44 +0000294 Nt32Pkg/StallPei/StallPei.inf
AJFISH409f6782007-07-27 19:07:27 +0000295 Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000296
Star Zeng71e9d092013-07-03 09:19:47 +0000297 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000298!if $(SECURE_BOOT_ENABLE) == TRUE
299 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf
300!else
AJFISH409f6782007-07-27 19:07:27 +0000301 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000302!endif
303
AJFISH409f6782007-07-27 19:07:27 +0000304 Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
305 Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
306 Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
lgao4706e7532007-11-30 09:18:29 +0000307 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
klu204eced52007-07-06 14:56:41 +0000308 ##
309 # DXE Phase modules
310 ##
lgao4899bc552007-10-17 07:30:14 +0000311 MdeModulePkg/Core/Dxe/DxeMain.inf {
312 <LibraryClasses>
lgao446ffb9a2007-10-17 07:54:42 +0000313 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000314 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
lgao497ef8cf2009-03-11 03:06:25 +0000315 <BuildOptions>
vanjeff53f79f82010-02-26 05:48:07 +0000316 *_*_IA32_CC_FLAGS =
lgao4899bc552007-10-17 07:30:14 +0000317 }
lgao497ef8cf2009-03-11 03:06:25 +0000318
AJFISH409f6782007-07-27 19:07:27 +0000319 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
qhuang8b3af5df2007-08-30 09:11:54 +0000320 <LibraryClasses>
yshang1cdebf6c2007-08-15 06:17:29 +0000321 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
klu2cba90122007-07-10 08:57:25 +0000322 }
AJFISH409f6782007-07-27 19:07:27 +0000323 Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000324 Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000325 Nt32Pkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
326 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
327 Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000328 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
329 <LibraryClasses>
330!if $(SECURE_BOOT_ENABLE) == TRUE
331 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
332!endif
333 }
davidhuang1fdd39d2009-11-20 04:02:03 +0000334 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000335 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
336 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000337 Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000338 Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
lgao4eba3ff42009-03-04 01:31:34 +0000339 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000340 Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
341 Nt32Pkg/TimerDxe/TimerDxe.inf
xli2425126a02009-11-03 02:39:10 +0000342 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
xli24164393a2009-12-25 07:29:33 +0000343 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
xli2425126a02009-11-03 02:39:10 +0000344 Nt32Pkg/WinNtOemHookStatusCodeHandlerDxe/WinNtOemHookStatusCodeHandlerDxe.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000345!if $(SECURE_BOOT_ENABLE) == TRUE
346 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
347 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
348!else
AJFISH409f6782007-07-27 19:07:27 +0000349 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000350!endif
jwang36d5469f42009-02-06 08:54:41 +0000351 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
AJFISH409f6782007-07-27 19:07:27 +0000352 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
353 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
354 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
qhuang8fcf24ba2009-02-23 03:20:29 +0000355 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
356 <LibraryClasses>
357 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
358 }
rsun395318732011-03-24 11:05:27 +0000359 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
360 <LibraryClasses>
361 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
362 }
hhtian0929b782011-03-26 05:53:59 +0000363 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
364 <LibraryClasses>
365 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
366 }
Ruiyu Ni863986b2013-07-26 03:14:08 +0000367 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
368 <LibraryClasses>
369 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
370 }
AJFISH409f6782007-07-27 19:07:27 +0000371 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
372 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000373 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
davidhuang061b1c22009-10-20 03:44:03 +0000374 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000375 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition
376 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition
377 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
qhuang8880cfb92008-09-02 07:20:24 +0000378 Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf {
379 <LibraryClasses>
380 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
381 }
AJFISH409f6782007-07-27 19:07:27 +0000382 Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
AJFISH409f6782007-07-27 19:07:27 +0000383 Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
384 Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
385 Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
klu2ef0028a2009-02-24 16:04:22 +0000386 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
vanjeff929e7bd2007-07-16 05:55:31 +0000387
vanjeff593a8302007-09-04 08:42:53 +0000388 #
389 # Network stack drivers
390 # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.
391 #
vanjeff36ee91c2007-11-20 05:42:23 +0000392 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000393 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
394 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
395 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
396 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
397 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
xdu21b14ec42010-03-03 10:47:27 +0000398 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000399 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
400 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
401 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
vanjeff5276f662009-09-03 09:08:43 +0000402 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
vanjeff593a8302007-09-04 08:42:53 +0000403 Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
404
eric_tian34a2bb92009-02-26 08:05:22 +0000405 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
406
vanjeff53f79f82010-02-26 05:48:07 +0000407 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
qwang125fd5fcd2008-01-21 14:42:45 +0000408 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
409 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
qhuang8fcf24ba2009-02-23 03:20:29 +0000410 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
qwang125fd5fcd2008-01-21 14:42:45 +0000411 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
412 <LibraryClasses>
413 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
414 }
eric_tian34a2bb92009-02-26 08:05:22 +0000415 MdeModulePkg/Application/VariableInfo/VariableInfo.inf
vanjeff53f79f82010-02-26 05:48:07 +0000416
lgao427431722009-02-24 15:37:53 +0000417 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
lgao427431722009-02-24 15:37:53 +0000418
lgao47cc9c452010-03-21 13:14:27 +0000419###################################################################################################
420#
421# BuildOptions Section - Define the module specific tool chain flags that should be used as
422# the default flags for a module. These flags are appended to any
423# standard flags that are defined by the build process. They can be
424# applied for any modules or only those modules with the specific
425# module style (EDK or EDKII) specified in [Components] section.
426#
427###################################################################################################
jwang362cb630b2007-07-06 07:41:51 +0000428[BuildOptions]
ydong10572b0ad2012-03-08 02:54:06 +0000429 DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
mdkinney23565922009-10-01 23:44:00 +0000430 RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096
jwang362529e5e2007-12-23 15:13:39 +0000431 *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006
432
klu2be0187b2007-12-26 04:51:23 +0000433#############################################################################################################
434# NOTE:
niruiyubb9f4ea2011-10-19 05:37:48 +0000435# The following [Libraries.IA32] section is for building EDK module under the EDKII tool chain.
436# If you want build EDK module for Nt32 platform, please uncomment [Libraries.IA32] section and
437# libraries used by that EDK module.
438# Currently, Nt32 platform do not has any EDK style module
vanjeff53f79f82010-02-26 05:48:07 +0000439#
klu2be0187b2007-12-26 04:51:23 +0000440#
441#[Libraries.IA32]
442 #
443 # Libraries common to PEI and DXE
444 #
qhuang8fcf24ba2009-02-23 03:20:29 +0000445 # EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
446 # EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
447 # EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
448 # EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
449 # EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
450 # EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
451 # EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
452 # EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
453 # EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
klu2be0187b2007-12-26 04:51:23 +0000454
455 #
456 # PEI libraries
457 #
qhuang8fcf24ba2009-02-23 03:20:29 +0000458 # EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
459 # EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
460 # EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
461 # EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
klu2be0187b2007-12-26 04:51:23 +0000462
463 #
464 # DXE libraries
465 #
qhuang8fcf24ba2009-02-23 03:20:29 +0000466 # EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
467 # EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
468 # EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
469 # EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
470 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
471 # EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
472 # EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
473 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
474 # EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
475 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
476 # EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
klu2be0187b2007-12-26 04:51:23 +0000477
478 #
479 # Print/Graphics Library consume SetupBrowser Print Protocol
480 #
qhuang8fcf24ba2009-02-23 03:20:29 +0000481 # EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
482 # EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
483