blob: 155235ec777dc9a346b86e5134779417d1b643d1 [file] [log] [blame]
lgao47b202cb2010-02-23 23:58:38 +00001## @file
jljusten49ba9442009-05-27 21:10:18 +00002# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3#
jljusten7ca30a62011-01-13 05:46:52 +00004# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
jljusten49ba9442009-05-27 21:10:18 +00005#
hhtian56d76402010-04-28 12:43:04 +00006# This program and the accompanying materials
jljusten49ba9442009-05-27 21:10:18 +00007# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
lgao47b202cb2010-02-23 23:58:38 +000014##
jljusten49ba9442009-05-27 21:10:18 +000015
16################################################################################
17#
18# Defines Section - statements that will be processed to create a Makefile.
19#
20################################################################################
21[Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
klu2713b7b52009-10-22 06:30:20 +000025 DSC_SPECIFICATION = 0x00010005
jljusten49ba9442009-05-27 21:10:18 +000026 OUTPUT_DIRECTORY = Build/Ovmf3264
27 SUPPORTED_ARCHITECTURES = IA32|X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf
31
jljusten0bc7e562010-01-04 16:18:02 +000032[BuildOptions]
jljusten152d9a62010-10-13 07:07:42 +000033 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
34 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
35 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
jljusten4a8266f2010-12-31 07:55:51 +000036 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
jljusten0bc7e562010-01-04 16:18:02 +000037
jljusten49ba9442009-05-27 21:10:18 +000038################################################################################
39#
40# SKU Identification section - list of all SKU IDs supported by this Platform.
41#
42################################################################################
43[SkuIds]
44 0|DEFAULT
45
46################################################################################
47#
48# Library Class section - list of all Library Classes needed by this Platform.
49#
50################################################################################
lgao47b202cb2010-02-23 23:58:38 +000051[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000052 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
53 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
54 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000055 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000056 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
57 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
58 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
59 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
60 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000061 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
62 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
63 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
64 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000065 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
66 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
67 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
68 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
69 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
70 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
71 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000072 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000073 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
74 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000075 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
76 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
77 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
78 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
79 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
80 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten14b21de2009-09-16 16:29:03 +000081 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
jljusten70520472011-03-31 23:17:07 +000082 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +000083 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +000084 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +000085 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
86 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
87 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
88 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +000089 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +000090 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
hhtiand33db922011-09-02 13:31:24 +000091 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +000092
93!ifdef $(SOURCE_DEBUG_ENABLE)
94 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
95 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
96!else
mdkinney42a83e82010-08-03 07:41:54 +000097 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
98 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeffc6efcc22010-09-12 06:46:55 +000099!endif
jljusten152d9a62010-10-13 07:07:42 +0000100
jljusten7ca30a62011-01-13 05:46:52 +0000101 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000102 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
mdkinney5de1a572011-03-10 22:38:41 +0000103 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000104
jljusten49ba9442009-05-27 21:10:18 +0000105[LibraryClasses.common.SEC]
106 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
xli24abec2e52009-12-29 09:10:05 +0000107 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000108 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000109!ifdef $(SOURCE_DEBUG_ENABLE)
110 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
111!endif
mdkinney42a83e82010-08-03 07:41:54 +0000112 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
113 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
114 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
115 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000116
117[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000118 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
119 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
120 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
121 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
122 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000123 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000124 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000125 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
126 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
127 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
128
129[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000130 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
131 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
132 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
133 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
134 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000135 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000136 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000137 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
138 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
139 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
140 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
141 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000142!ifdef $(SOURCE_DEBUG_ENABLE)
143 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
144!endif
jljusten49ba9442009-05-27 21:10:18 +0000145
146[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000147 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
148 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
149 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000150 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000151 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
152 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
153 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000154!ifdef $(SOURCE_DEBUG_ENABLE)
155 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
156!endif
jljusten49ba9442009-05-27 21:10:18 +0000157
158[LibraryClasses.common.DXE_RUNTIME_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000159 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
160 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
161 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000162 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000163 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
164 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000165 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
166 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000167
168[LibraryClasses.common.UEFI_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000169 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
170 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
171 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000172 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000173 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
174 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000175 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
176
177[LibraryClasses.common.DXE_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000178 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
179 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
180 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000181 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000182 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000183 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
184 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
185 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
186 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
187 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
188 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
189 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
190
jljusten86fef5b2009-06-30 15:57:29 +0000191[LibraryClasses.common.UEFI_APPLICATION]
192 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
193 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
194 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
195
jljusten49ba9442009-05-27 21:10:18 +0000196################################################################################
197#
198# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
199#
200################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000201[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000202 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
203 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000204 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
205 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000206 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
207 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
208 gOptionRomPkgTokenSpaceGuid.PcdSupportGop|TRUE
209 gOptionRomPkgTokenSpaceGuid.PcdSupportUga|FALSE
210
lgao47b202cb2010-02-23 23:58:38 +0000211[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000212 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000213 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000214 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
215 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
216 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
217 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
218 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
jljusten27f58ea2009-09-26 07:15:51 +0000219 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
220 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
221 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
222 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
jljusten49ba9442009-05-27 21:10:18 +0000223
jljusten49ba9442009-05-27 21:10:18 +0000224 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
225
jljusten49ba9442009-05-27 21:10:18 +0000226 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
227 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000228!ifdef $(SOURCE_DEBUG_ENABLE)
229 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
230!else
jljusten49ba9442009-05-27 21:10:18 +0000231 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000232!endif
233
gikidy670a64e2011-08-25 03:19:57 +0000234!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000235 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000236!endif
jljusten49ba9442009-05-27 21:10:18 +0000237
jljusten345a0c82011-06-26 18:58:41 +0000238!if $(BUILD_NEW_SHELL)
239 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
240!else
241!if $(USE_NEW_SHELL)
242 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
243!endif
244!endif
245
jljusten49ba9442009-05-27 21:10:18 +0000246################################################################################
247#
248# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
249#
250################################################################################
251
lgao47b202cb2010-02-23 23:58:38 +0000252[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000253 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000254 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000255 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
256 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
257
jljusten49ba9442009-05-27 21:10:18 +0000258
259################################################################################
260#
261# Components Section - list of all EDK II Modules needed by this Platform.
262#
263################################################################################
264[Components.IA32]
265 #
266 # SEC Phase modules
267 #
jljustenc1c26692010-01-04 16:17:59 +0000268 OvmfPkg/Sec/SecMain.inf {
269 <LibraryClasses>
270 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
271 }
jljusten49ba9442009-05-27 21:10:18 +0000272
273 #
274 # PEI Phase modules
275 #
276 MdeModulePkg/Core/Pei/PeiMain.inf
277 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
278 <LibraryClasses>
279 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
280 }
281 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000282 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000283
284 OvmfPkg/PlatformPei/PlatformPei.inf {
285 <LibraryClasses>
286 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
287 }
jljusten49ba9442009-05-27 21:10:18 +0000288
289[Components.X64]
290 #
291 # DXE Phase modules
292 #
293 MdeModulePkg/Core/Dxe/DxeMain.inf {
294 <LibraryClasses>
295 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
296 }
297
298 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
299 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
300 <LibraryClasses>
301 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
302 }
303
304 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
305 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
xli24e6d3b272009-12-25 06:36:10 +0000306 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000307 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000308 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000309 UefiCpuPkg/CpuDxe/CpuDxe.inf
310 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
311 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000312 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000313 PcAtChipsetPkg/KbcResetDxe/Reset.inf
314 MdeModulePkg/Universal/Metronome/Metronome.inf {
315 <LibraryClasses>
316 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
317 }
318
klu278e748b2009-07-07 03:21:07 +0000319 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000320 <LibraryClasses>
321 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
322 }
323
jljustenc1c26692010-01-04 16:17:59 +0000324 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000325 <LibraryClasses>
326 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
jljusten8016da22011-11-10 22:04:19 +0000327!ifdef $(CSM_ENABLE)
328 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
329!endif
jljusten49ba9442009-05-27 21:10:18 +0000330 }
331
jljustenefd82c52010-03-21 00:34:15 +0000332 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
jljusten27f58ea2009-09-26 07:15:51 +0000333 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
334 <LibraryClasses>
335 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
336 }
337 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
338 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000339 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
340 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
341 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
342 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
343 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
344 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
345 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
346 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000347 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000348 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
349 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
350 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
351 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
352 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
353 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
354 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
355 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
356 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000357 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000358
jljusteneaf4f332011-04-12 15:08:51 +0000359 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
360 <LibraryClasses>
361 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
362 }
jljusten49ba9442009-05-27 21:10:18 +0000363
364 #
365 # ISA Support
366 #
367 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
368 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
369 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
370 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
371 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
372
373 #
jljustenfb511812011-08-13 22:54:37 +0000374 # SMBIOS Support
375 #
376 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
377 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
378
379 #
jljusten49ba9442009-05-27 21:10:18 +0000380 # ACPI Support
381 #
382 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
383 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
384 OvmfPkg/AcpiTables/AcpiTables.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000385
386 #
387 # Network Support
388 #
389!if $(NETWORK_ENABLE)
390 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
391 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
392 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
393 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
394 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
395 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
396 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
397 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
398 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
399 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
400 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
401 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
402 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
403!endif
jljusten152d9a62010-10-13 07:07:42 +0000404
jljusten689562c2010-12-31 07:55:38 +0000405 #
406 # Usb Support
407 #
408 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
409 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
410 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
411 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
412 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
413
jljusten4b3d6632011-11-10 22:04:49 +0000414!ifdef $(CSM_ENABLE)
415 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
416 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
417 OvmfPkg/Csm/Csm16/Csm16.inf
418!endif
419
jljusten345a0c82011-06-26 18:58:41 +0000420!if $(BUILD_NEW_SHELL)
421 ShellPkg/Application/Shell/Shell.inf {
422 <LibraryClasses>
423 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
424 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
425 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
426 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
427 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
428 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
429 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
430 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
431 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
432 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
433 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
434 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
435 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljustend12bed12011-07-11 21:20:40 +0000436 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000437# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
438# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
439
440 <PcdsFixedAtBuild>
441 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
442 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
443 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
444 }
445!endif
446