1 | ## @file
|
---|
2 | # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
|
---|
3 | #
|
---|
4 | # Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
---|
5 | #
|
---|
6 | # This program and the accompanying materials
|
---|
7 | # 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 | #
|
---|
14 | ##
|
---|
15 |
|
---|
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
|
---|
25 | DSC_SPECIFICATION = 0x00010005
|
---|
26 | !ifndef $(VBOX_OUTPUT_BASE_DIR)
|
---|
27 | OUTPUT_DIRECTORY = Build/OvmfX64
|
---|
28 | !else
|
---|
29 | OUTPUT_DIRECTORY = $(VBOX_OUTPUT_BASE_DIR)/amd64
|
---|
30 | !endif
|
---|
31 | SUPPORTED_ARCHITECTURES = X64
|
---|
32 | BUILD_TARGETS = DEBUG|RELEASE
|
---|
33 | SKUID_IDENTIFIER = DEFAULT
|
---|
34 | FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf
|
---|
35 |
|
---|
36 | [BuildOptions]
|
---|
37 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
---|
38 | INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
---|
39 | MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
---|
40 | GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
|
---|
41 |
|
---|
42 | !ifdef $(VBOX)
|
---|
43 | [BuildOptions.Ia32]
|
---|
44 | GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
|
---|
45 | MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
|
---|
46 | INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
|
---|
47 | [BuildOptions.X64]
|
---|
48 | GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
|
---|
49 | MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
|
---|
50 | INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
|
---|
51 | !endif
|
---|
52 |
|
---|
53 | ################################################################################
|
---|
54 | #
|
---|
55 | # SKU Identification section - list of all SKU IDs supported by this Platform.
|
---|
56 | #
|
---|
57 | ################################################################################
|
---|
58 | [SkuIds]
|
---|
59 | 0|DEFAULT
|
---|
60 |
|
---|
61 | ################################################################################
|
---|
62 | #
|
---|
63 | # Library Class section - list of all Library Classes needed by this Platform.
|
---|
64 | #
|
---|
65 | ################################################################################
|
---|
66 | [LibraryClasses]
|
---|
67 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
68 | !ifndef $(VBOX)
|
---|
69 | TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
|
---|
70 | !else
|
---|
71 | TimerLib|VBoxPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
|
---|
72 | !endif
|
---|
73 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
---|
74 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
|
---|
75 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
---|
76 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
---|
77 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
---|
78 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
---|
79 | !ifndef $(VBOX)
|
---|
80 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
81 | !else
|
---|
82 | PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
|
---|
83 | !endif
|
---|
84 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
---|
85 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
---|
86 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
---|
87 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
---|
88 | GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
|
---|
89 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
---|
90 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
---|
91 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
92 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
---|
93 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
---|
94 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
---|
95 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
---|
96 | SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
|
---|
97 | MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
---|
98 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
---|
99 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
---|
100 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
---|
101 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
---|
102 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
---|
103 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
104 | NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
|
---|
105 | FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
---|
106 | UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
|
---|
107 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
---|
108 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
|
---|
109 | IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
|
---|
110 | UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
|
---|
111 | DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
|
---|
112 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
|
---|
113 | SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
|
---|
114 | LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
|
---|
115 |
|
---|
116 | !ifdef $(VBOX)
|
---|
117 | PeCoffExtraActionLib|VBoxPkg/Library/VBoxPeCoffExtraActionLib/VBoxPeCoffExtraActionLib.inf
|
---|
118 | DebugAgentLib|VBoxPkg/Library/VBoxDebugAgentLib/VBoxDebugAgentLib.inf
|
---|
119 | !else
|
---|
120 | !ifdef $(SOURCE_DEBUG_ENABLE)
|
---|
121 | PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
|
---|
122 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
|
---|
123 | !else
|
---|
124 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
---|
125 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
---|
126 | !endif
|
---|
127 | !endif
|
---|
128 |
|
---|
129 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
|
---|
130 | LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
|
---|
131 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
---|
132 |
|
---|
133 | [LibraryClasses.common.SEC]
|
---|
134 | !ifndef $(VBOX)
|
---|
135 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
136 | !else
|
---|
137 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
138 | !endif
|
---|
139 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
---|
140 | ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
|
---|
141 | !ifdef $(VBOX)
|
---|
142 | !ifdef $(SOURCE_DEBUG_ENABLE)
|
---|
143 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
|
---|
144 | !endif
|
---|
145 | !endif
|
---|
146 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
147 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
148 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
149 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
150 |
|
---|
151 | [LibraryClasses.common.PEI_CORE]
|
---|
152 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
153 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
154 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
155 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
156 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
|
---|
157 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
---|
158 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
---|
159 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
160 | !ifndef $(VBOX)
|
---|
161 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
162 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
163 | !else
|
---|
164 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
165 | PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
|
---|
166 | !endif
|
---|
167 |
|
---|
168 | [LibraryClasses.common.PEIM]
|
---|
169 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
170 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
171 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
172 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
173 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
---|
174 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
---|
175 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
---|
176 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
177 | !ifndef $(VBOX)
|
---|
178 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
179 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
180 | !else
|
---|
181 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
182 | PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
|
---|
183 | !endif
|
---|
184 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
|
---|
185 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
|
---|
186 | !ifdef $(VBOX)
|
---|
187 | !ifdef $(SOURCE_DEBUG_ENABLE)
|
---|
188 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
|
---|
189 | !endif
|
---|
190 | !endif
|
---|
191 |
|
---|
192 | [LibraryClasses.common.DXE_CORE]
|
---|
193 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
---|
194 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
---|
195 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
---|
196 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
197 | !ifndef $(VBOX)
|
---|
198 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
199 | !else
|
---|
200 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
201 | !endif
|
---|
202 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
203 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
---|
204 | !ifdef $(VBOX)
|
---|
205 | !ifdef $(SOURCE_DEBUG_ENABLE)
|
---|
206 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
|
---|
207 | !endif
|
---|
208 | !endif
|
---|
209 |
|
---|
210 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]
|
---|
211 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
212 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
---|
213 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
214 | ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
|
---|
215 | !ifndef $(VBOX)
|
---|
216 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
217 | !else
|
---|
218 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
219 | !endif
|
---|
220 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
221 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
---|
222 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
---|
223 |
|
---|
224 | [LibraryClasses.common.UEFI_DRIVER]
|
---|
225 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
226 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
---|
227 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
228 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
229 | !ifndef $(VBOX)
|
---|
230 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
231 | !else
|
---|
232 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
233 | !endif
|
---|
234 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
235 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
---|
236 |
|
---|
237 | [LibraryClasses.common.DXE_DRIVER]
|
---|
238 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
239 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
240 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
241 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
242 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
---|
243 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
---|
244 | !ifndef $(VBOX)
|
---|
245 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
246 | !else
|
---|
247 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
248 | !endif
|
---|
249 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
|
---|
250 | IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
|
---|
251 | UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
|
---|
252 | DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
|
---|
253 | PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
|
---|
254 |
|
---|
255 | [LibraryClasses.common.UEFI_APPLICATION]
|
---|
256 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
257 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
258 | !ifndef $(VBOX)
|
---|
259 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
260 | !else
|
---|
261 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
262 | !endif
|
---|
263 |
|
---|
264 | ################################################################################
|
---|
265 | #
|
---|
266 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
|
---|
267 | #
|
---|
268 | ################################################################################
|
---|
269 | [PcdsFeatureFlag]
|
---|
270 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
|
---|
271 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
|
---|
272 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
|
---|
273 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
|
---|
274 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
|
---|
275 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
|
---|
276 | !ifdef $(VBOX)
|
---|
277 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn|FALSE
|
---|
278 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
|
---|
279 | !endif
|
---|
280 |
|
---|
281 | [PcdsFixedAtBuild]
|
---|
282 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
|
---|
283 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
|
---|
284 | gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
|
---|
285 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
|
---|
286 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
|
---|
287 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
|
---|
288 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
|
---|
289 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
|
---|
290 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
|
---|
291 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
|
---|
292 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
|
---|
293 |
|
---|
294 | gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
|
---|
295 |
|
---|
296 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0xff
|
---|
297 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
---|
298 | !ifdef $(SOURCE_DEBUG_ENABLE)
|
---|
299 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
---|
300 | !else
|
---|
301 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
|
---|
302 | !endif
|
---|
303 |
|
---|
304 | !ifdef $(SOURCE_DEBUG_ENABLE)
|
---|
305 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
|
---|
306 | !endif
|
---|
307 |
|
---|
308 | !if $(BUILD_NEW_SHELL)
|
---|
309 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
|
---|
310 | !else
|
---|
311 | !if $(USE_NEW_SHELL)
|
---|
312 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
|
---|
313 | !endif
|
---|
314 | !endif
|
---|
315 |
|
---|
316 | ################################################################################
|
---|
317 | #
|
---|
318 | # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
|
---|
319 | #
|
---|
320 | ################################################################################
|
---|
321 |
|
---|
322 | [PcdsDynamicDefault]
|
---|
323 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
|
---|
324 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
|
---|
325 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
|
---|
326 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
|
---|
327 |
|
---|
328 | ################################################################################
|
---|
329 | #
|
---|
330 | # Components Section - list of all EDK II Modules needed by this Platform.
|
---|
331 | #
|
---|
332 | ################################################################################
|
---|
333 | [Components]
|
---|
334 | #
|
---|
335 | # SEC Phase modules
|
---|
336 | #
|
---|
337 | OvmfPkg/Sec/SecMain.inf {
|
---|
338 | <LibraryClasses>
|
---|
339 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
---|
340 | }
|
---|
341 |
|
---|
342 | #
|
---|
343 | # PEI Phase modules
|
---|
344 | #
|
---|
345 | MdeModulePkg/Core/Pei/PeiMain.inf
|
---|
346 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
---|
347 | <LibraryClasses>
|
---|
348 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
349 | }
|
---|
350 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
---|
351 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
---|
352 |
|
---|
353 | !ifndef $(VBOX)
|
---|
354 | OvmfPkg/PlatformPei/PlatformPei.inf {
|
---|
355 | <LibraryClasses>
|
---|
356 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
---|
357 | }
|
---|
358 | !else
|
---|
359 | VBoxPkg/PlatformPei/PlatformPei.inf {
|
---|
360 | <LibraryClasses>
|
---|
361 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
---|
362 | }
|
---|
363 | !endif
|
---|
364 |
|
---|
365 | #
|
---|
366 | # DXE Phase modules
|
---|
367 | #
|
---|
368 | MdeModulePkg/Core/Dxe/DxeMain.inf {
|
---|
369 | <LibraryClasses>
|
---|
370 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
---|
371 | }
|
---|
372 |
|
---|
373 | IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
|
---|
374 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
|
---|
375 | <LibraryClasses>
|
---|
376 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
377 | }
|
---|
378 |
|
---|
379 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
---|
380 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
---|
381 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
---|
382 | PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
|
---|
383 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
---|
384 | UefiCpuPkg/CpuDxe/CpuDxe.inf
|
---|
385 | PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
---|
386 | PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
|
---|
387 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
---|
388 | PcAtChipsetPkg/KbcResetDxe/Reset.inf
|
---|
389 | MdeModulePkg/Universal/Metronome/Metronome.inf {
|
---|
390 | <LibraryClasses>
|
---|
391 | !ifndef $(VBOX)
|
---|
392 | TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
|
---|
393 | !else
|
---|
394 | TimerLib|VBoxPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
|
---|
395 | !endif
|
---|
396 | }
|
---|
397 |
|
---|
398 | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
|
---|
399 | <LibraryClasses>
|
---|
400 | !ifndef $(VBOX)
|
---|
401 | TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
|
---|
402 | !else
|
---|
403 | TimerLib|VBoxPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
|
---|
404 | !endif
|
---|
405 | }
|
---|
406 |
|
---|
407 | IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
|
---|
408 | <LibraryClasses>
|
---|
409 | !ifndef $(VBOX)
|
---|
410 | TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
|
---|
411 | !else
|
---|
412 | TimerLib|VBoxPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
|
---|
413 | !endif
|
---|
414 | !ifdef $(CSM_ENABLE)
|
---|
415 | NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
|
---|
416 | !endif
|
---|
417 | }
|
---|
418 |
|
---|
419 | OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
|
---|
420 | OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
|
---|
421 | <LibraryClasses>
|
---|
422 | PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
|
---|
423 | }
|
---|
424 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
425 | !ifndef $(VBOX)
|
---|
426 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
427 | !else
|
---|
428 | VBoxPkg/VBoxVariable/VBoxVariableRuntimeDxe.inf
|
---|
429 | !endif
|
---|
430 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
431 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
432 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
433 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
434 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
435 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
---|
436 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
437 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
438 | MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
---|
439 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
440 | !ifndef $(VBOX)
|
---|
441 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
---|
442 | !else
|
---|
443 | VBoxPkg/PartitionDxe/PartitionDxe.inf
|
---|
444 | !endif
|
---|
445 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
---|
446 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
---|
447 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
---|
448 | IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
---|
449 | PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
---|
450 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
451 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
452 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
---|
453 |
|
---|
454 | !ifndef $(VBOX)
|
---|
455 | OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
|
---|
456 | <LibraryClasses>
|
---|
457 | BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
|
---|
458 | }
|
---|
459 | !else
|
---|
460 | MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
---|
461 | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
---|
462 | VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
|
---|
463 | # see fdf file
|
---|
464 | #VBoxPkg/VBoxConsoleDxe/VBoxConsoleDxe.inf
|
---|
465 | VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
|
---|
466 | VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
|
---|
467 | VBoxPkg/VBoxFsDxe/VBoxHfs.inf
|
---|
468 | VBoxPkg/VBoxSysTables/VBoxSysTables.inf
|
---|
469 | VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
|
---|
470 | # we need it for VBoxAppleSim
|
---|
471 | IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
|
---|
472 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
---|
473 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
|
---|
474 | !endif
|
---|
475 |
|
---|
476 | #
|
---|
477 | # ISA Support
|
---|
478 | #
|
---|
479 | PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
|
---|
480 | IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
|
---|
481 | IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
|
---|
482 | IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
|
---|
483 | IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
|
---|
484 | IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
|
---|
485 |
|
---|
486 | #
|
---|
487 | # SMBIOS Support
|
---|
488 | #
|
---|
489 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
---|
490 | OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
491 |
|
---|
492 | #
|
---|
493 | # ACPI Support
|
---|
494 | #
|
---|
495 | MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
---|
496 | !ifndef $(VBOX)
|
---|
497 | MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
498 | OvmfPkg/AcpiTables/AcpiTables.inf
|
---|
499 | !else
|
---|
500 | VBoxPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
501 | !endif
|
---|
502 |
|
---|
503 | #
|
---|
504 | # Network Support
|
---|
505 | #
|
---|
506 | !if $(NETWORK_ENABLE)
|
---|
507 | MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
|
---|
508 | MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
---|
509 | MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
---|
510 | MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
|
---|
511 | MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
---|
512 | MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
---|
513 | MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
---|
514 | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
---|
515 | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
---|
516 | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
---|
517 | MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
---|
518 | MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
---|
519 | MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
|
---|
520 | !endif
|
---|
521 |
|
---|
522 | #
|
---|
523 | # Usb Support
|
---|
524 | #
|
---|
525 | !ifndef $(VBOX)
|
---|
526 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
527 | !endif
|
---|
528 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
529 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
530 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
531 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
532 |
|
---|
533 | !ifdef $(CSM_ENABLE)
|
---|
534 | IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
|
---|
535 | IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
|
---|
536 | OvmfPkg/Csm/Csm16/Csm16.inf
|
---|
537 | !endif
|
---|
538 |
|
---|
539 | !if $(BUILD_NEW_SHELL)
|
---|
540 | ShellPkg/Application/Shell/Shell.inf {
|
---|
541 | <LibraryClasses>
|
---|
542 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
|
---|
543 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
|
---|
544 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
|
---|
545 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
|
---|
546 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
|
---|
547 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
|
---|
548 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
|
---|
549 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
|
---|
550 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
|
---|
551 | FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
---|
552 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
---|
553 | SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
|
---|
554 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
---|
555 | PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
|
---|
556 | # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
|
---|
557 | # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
|
---|
558 |
|
---|
559 | <PcdsFixedAtBuild>
|
---|
560 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
|
---|
561 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
---|
562 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
|
---|
563 | }
|
---|
564 | !endif
|
---|
565 |
|
---|