blob: 5f7e4b0d98b61b1ddb88686f38d243802a21f9e0 [file] [log] [blame]
andrewfish949f3882011-05-11 18:31:20 +00001## @file
andrewfish5dcda292011-06-17 16:18:14 +00002# UEFI/PI Emulation Platform with UEFI HII interface supported.
andrewfish949f3882011-05-11 18:31:20 +00003#
4# The Emulation Platform can be used to debug individual modules, prior to creating
jljustene23e4882011-06-29 05:13:54 +00005# a real platform. This also provides an example for how an DSC is created.
6#
andrewfish949f3882011-05-11 18:31:20 +00007# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
8# Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>
9#
jljustene23e4882011-06-29 05:13:54 +000010# This program and the accompanying materials
11# are licensed and made available under the terms and conditions of the BSD License
12# which accompanies this distribution. The full text of the license may be found at
13# http://opensource.org/licenses/bsd-license.php
andrewfish949f3882011-05-11 18:31:20 +000014#
jljustene23e4882011-06-29 05:13:54 +000015# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
andrewfish949f3882011-05-11 18:31:20 +000017#
18##
19
andrewfish949f3882011-05-11 18:31:20 +000020[Defines]
jljustene23e4882011-06-29 05:13:54 +000021 PLATFORM_NAME = EmulatorPkg
andrewfish949f3882011-05-11 18:31:20 +000022 PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D
23 PLATFORM_VERSION = 0.3
24 DSC_ SPECIFICATION = 0x00010005
andrewfishe7523e02011-06-18 22:23:46 +000025!if $(BUILD_32)
jljustene23e4882011-06-29 05:13:54 +000026 OUTPUT_DIRECTORY = Build/Emulator32
andrewfishe7523e02011-06-18 22:23:46 +000027!else
jljustene23e4882011-06-29 05:13:54 +000028 OUTPUT_DIRECTORY = Build/Emulator
andrewfishe7523e02011-06-18 22:23:46 +000029!endif
30
andrewfish112a8572011-06-18 17:53:31 +000031 SUPPORTED_ARCHITECTURES = X64|IA32
andrewfish949f3882011-05-11 18:31:20 +000032 BUILD_TARGETS = DEBUG|RELEASE
33 SKUID_IDENTIFIER = DEFAULT
jljustene23e4882011-06-29 05:13:54 +000034 FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf
andrewfish949f3882011-05-11 18:31:20 +000035
andrewfish949f3882011-05-11 18:31:20 +000036[SkuIds]
37 0|DEFAULT
38
andrewfish949f3882011-05-11 18:31:20 +000039[LibraryClasses]
40 #
41 # Entry point
42 #
43 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
44 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
45 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
47 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
48 #
49 # Basic
50 #
51 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
52 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
53 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
54 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
55 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
56 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
57 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
58
59 #
60 # UEFI & PI
61 #
62 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
63 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
64 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
65 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
66 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
67 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
68 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
69 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
70
71 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
72 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
73 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
74 #
75 # Generic Modules
76 #
77 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
78 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
79 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
80 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
81 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
82 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
83 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
84 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
85 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
86 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
87 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
88 #
89 # Platform
90 #
jljustenbb89ec12011-06-28 16:47:23 +000091 PlatformBdsLib|EmulatorPkg/Library/EmuBdsLib/EmuBdsLib.inf
92 KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf
jljustend18d8a12011-06-28 16:50:26 +000093
andrewfish949f3882011-05-11 18:31:20 +000094 #
95 # Misc
96 #
97 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
98 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
99 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
jljustenbb89ec12011-06-28 16:47:23 +0000100 PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf
andrewfish1453e772011-06-19 18:59:00 +0000101 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
102
andrewfish949f3882011-05-11 18:31:20 +0000103
andrewfish65e3f332011-05-14 16:00:22 +0000104[LibraryClasses.common.SEC]
jljustenbb89ec12011-06-28 16:47:23 +0000105 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
andrewfish65e3f332011-05-14 16:00:22 +0000106 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljustenbb89ec12011-06-28 16:47:23 +0000107 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
108 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
109 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
110 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
andrewfish1453e772011-06-19 18:59:00 +0000111 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenbb89ec12011-06-28 16:47:23 +0000112 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
andrewfish65e3f332011-05-14 16:00:22 +0000113
andrewfish949f3882011-05-11 18:31:20 +0000114[LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
115 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
116 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
117 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
118 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljustenbb89ec12011-06-28 16:47:23 +0000119 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
120 ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf
121 ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf
andrewfish65e3f332011-05-14 16:00:22 +0000122 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000123 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
124 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
andrewfish65e3f332011-05-14 16:00:22 +0000125
andrewfish949f3882011-05-11 18:31:20 +0000126
127[LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
128 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
129 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
130 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000131 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
132 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000133 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000134 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
andrewfish1453e772011-06-19 18:59:00 +0000135 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000136 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000137
138[LibraryClasses.common.PEI_CORE]
139 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
andrewfish949f3882011-05-11 18:31:20 +0000140
141[LibraryClasses.common.PEIM]
142 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000143
144[LibraryClasses.common.DXE_CORE]
145 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
146 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
147 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000148 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000149 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
150 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljustenbb89ec12011-06-28 16:47:23 +0000151 TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf
152 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000153
154[LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
155 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
156 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
157 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
158 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000159 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
160 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
andrewfish1453e772011-06-19 18:59:00 +0000161 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000162 TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000163
164[LibraryClasses.common.UEFI_DRIVER]
165 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljustend18d8a12011-06-28 16:50:26 +0000166
andrewfish949f3882011-05-11 18:31:20 +0000167[LibraryClasses.common.UEFI_APPLICATION]
168 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
169
170
andrewfish949f3882011-05-11 18:31:20 +0000171[PcdsFeatureFlag]
172 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
173 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
174 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
175 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
176
177[PcdsFixedAtBuild]
178 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
179 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
180 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
181 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
182 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
183
jljustenbb89ec12011-06-28 16:47:23 +0000184 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
185 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
186 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
jljustend18d8a12011-06-28 16:50:26 +0000187
jljusten59ad4612011-06-29 05:13:33 +0000188 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
jljusten72a44be2011-05-15 17:23:33 +0000189
190!if $(BUILD_NEW_SHELL)
191 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
192!else
193!if $(USE_NEW_SHELL)
194 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
195!endif
196!endif
197
andrewfish949f3882011-05-11 18:31:20 +0000198#define BOOT_WITH_FULL_CONFIGURATION 0x00
199#define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
200#define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
201#define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
202#define BOOT_WITH_DEFAULT_SETTINGS 0x04
203#define BOOT_ON_S4_RESUME 0x05
204#define BOOT_ON_S5_RESUME 0x06
205#define BOOT_ON_S2_RESUME 0x10
206#define BOOT_ON_S3_RESUME 0x11
207#define BOOT_ON_FLASH_UPDATE 0x12
208#define BOOT_IN_RECOVERY_MODE 0x20
jljustenbb89ec12011-06-28 16:47:23 +0000209 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
jljustend18d8a12011-06-28 16:50:26 +0000210
jljustenbb89ec12011-06-28 16:47:23 +0000211 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
andrewfish949f3882011-05-11 18:31:20 +0000212
andrewfish5dcda292011-06-17 16:18:14 +0000213 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
jljustenbb89ec12011-06-28 16:47:23 +0000214 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
215 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
216 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L".!../../../../EdkShellBinPkg/Bin"
217 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
218 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
andrewfish949f3882011-05-11 18:31:20 +0000219
jljustenbb89ec12011-06-28 16:47:23 +0000220 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
221 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
andrewfish949f3882011-05-11 18:31:20 +0000222
andrewfish7e284ac2011-06-08 02:34:12 +0000223 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8
224 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
225
andrewfish949f3882011-05-11 18:31:20 +0000226[PcdsDynamicDefault.common.DEFAULT]
227 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
228 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
229 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
230
231[PcdsDynamicHii.common.DEFAULT]
232 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
233 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
234 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
235
236
andrewfishea203f22011-06-20 23:05:43 +0000237!ifndef $(SKIP_MAIN_BUILD)
andrewfish112a8572011-06-18 17:53:31 +0000238[Components.X64]
239 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
240 <LibraryClasses>
241 # turn off CR3 write so that DXE IPL will not crash emulator
242 BaseLib|UnixPkg/Library/UnixBaseLib/UnixBaseLib.inf
243 }
244
245[Components.IA32]
jljustend18d8a12011-06-28 16:50:26 +0000246 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
andrewfish1d7ac5a2011-06-24 23:59:51 +0000247!endif
andrewfish112a8572011-06-18 17:53:31 +0000248
andrewfish949f3882011-05-11 18:31:20 +0000249[Components]
jljusten53a68132011-06-20 21:58:22 +0000250!ifdef $(UNIX_SEC_BUILD)
andrewfish949f3882011-05-11 18:31:20 +0000251 ##
andrewfish5dcda292011-06-17 16:18:14 +0000252 # Emulator, OS POSIX application
andrewfish949f3882011-05-11 18:31:20 +0000253 ##
jljusten59ad4612011-06-29 05:13:33 +0000254 EmulatorPkg/Unix/Host/Host.inf
jljusten53a68132011-06-20 21:58:22 +0000255!endif
256
257!ifndef $(SKIP_MAIN_BUILD)
andrewfish65e3f332011-05-14 16:00:22 +0000258 #
259 # Generic SEC
260 #
jljustenbb89ec12011-06-28 16:47:23 +0000261 EmulatorPkg/Sec/Sec.inf
andrewfish65e3f332011-05-14 16:00:22 +0000262
andrewfish949f3882011-05-11 18:31:20 +0000263 ##
264 # PEI Phase modules
265 ##
266 MdeModulePkg/Core/Pei/PeiMain.inf
267 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
268 <LibraryClasses>
269 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
270 }
271 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
jljustend18d8a12011-06-28 16:50:26 +0000272 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
273
andrewfish949f3882011-05-11 18:31:20 +0000274 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenbb89ec12011-06-28 16:47:23 +0000275 EmulatorPkg/BootModePei/BootModePei.inf
andrewfish949f3882011-05-11 18:31:20 +0000276 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
jljustenbb89ec12011-06-28 16:47:23 +0000277 EmulatorPkg/AutoScanPei/AutoScanPei.inf
278 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
279 EmulatorPkg/FlashMapPei/FlashMapPei.inf
280 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
andrewfish949f3882011-05-11 18:31:20 +0000281
282 ##
283 # DXE Phase modules
284 ##
285 MdeModulePkg/Core/Dxe/DxeMain.inf {
286 <LibraryClasses>
andrewfish1453e772011-06-19 18:59:00 +0000287 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
andrewfishbed0bbc2011-08-11 03:23:09 +0000288 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
289 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000290 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
291 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
292 }
293 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
294 <LibraryClasses>
295 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
296 }
297
298 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
299 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
300 <LibraryClasses>
andrewfish1453e772011-06-19 18:59:00 +0000301 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustend18d8a12011-06-28 16:50:26 +0000302 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000303 }
304
andrewfish1ef41202011-06-21 23:41:31 +0000305 MdeModulePkg/Universal/Metronome/Metronome.inf
jljustenbb89ec12011-06-28 16:47:23 +0000306 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
307 EmulatorPkg/ResetRuntimeDxe/Reset.inf
andrewfish949f3882011-05-11 18:31:20 +0000308 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljustenbb89ec12011-06-28 16:47:23 +0000309 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
andrewfish949f3882011-05-11 18:31:20 +0000310 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
311 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
312 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljustenbb89ec12011-06-28 16:47:23 +0000313 EmulatorPkg/EmuThunkDxe/EmuThunk.inf
314 EmulatorPkg/CpuRuntimeDxe/Cpu.inf
andrewfish949f3882011-05-11 18:31:20 +0000315 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
jljustenbb89ec12011-06-28 16:47:23 +0000316 EmulatorPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf
317 EmulatorPkg/TimerDxe/Timer.inf
andrewfish949f3882011-05-11 18:31:20 +0000318
319
320 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
321 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
322 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
323 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
324 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
325 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
326 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
andrewfish7e284ac2011-06-08 02:34:12 +0000327 EmbeddedPkg/SerialDxe/SerialDxe.inf {
328 <LibraryClasses>
329 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
jljustend18d8a12011-06-28 16:50:26 +0000330 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
andrewfish7e284ac2011-06-08 02:34:12 +0000331 }
jljustend18d8a12011-06-28 16:50:26 +0000332
andrewfish949f3882011-05-11 18:31:20 +0000333 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
334 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
jljustend18d8a12011-06-28 16:50:26 +0000335 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
andrewfish5dcda292011-06-17 16:18:14 +0000336 #{
jljustend18d8a12011-06-28 16:50:26 +0000337 # <LibraryClasses>
jljustenbb89ec12011-06-28 16:47:23 +0000338 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
andrewfish5dcda292011-06-17 16:18:14 +0000339 #}
jljustend18d8a12011-06-28 16:50:26 +0000340
andrewfish949f3882011-05-11 18:31:20 +0000341 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
342 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
343 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
344 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
345 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
346 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
347 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
348
jljustenbb89ec12011-06-28 16:47:23 +0000349 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
350 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
351 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
352 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
353 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
andrewfish949f3882011-05-11 18:31:20 +0000354
andrewfish949f3882011-05-11 18:31:20 +0000355 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
356
357 #
358 # Network stack drivers
359 #
andrewfish949f3882011-05-11 18:31:20 +0000360 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
361 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
362 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
363 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
364 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
365 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
366 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
367 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
368 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
369 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
370
371 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
372 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
373 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
374 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
375 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
376 <LibraryClasses>
377 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
378 }
379
jljusten72a44be2011-05-15 17:23:33 +0000380!if $(BUILD_FAT)
andrewfish949f3882011-05-11 18:31:20 +0000381 FatPkg/EnhancedFatDxe/Fat.inf
382!endif
jljusten72a44be2011-05-15 17:23:33 +0000383
384!if $(BUILD_NEW_SHELL)
385 ShellPkg/Application/Shell/Shell.inf {
386 <LibraryClasses>
387 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
388 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
389 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
390 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
391 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
392 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
393 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
394 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
395 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
396 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
397 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
398 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
399 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
andrewfish5407ce12011-07-01 16:58:47 +0000400 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
401# MemoryAllocationLib|EmulatorPkg/Library/GuardUefiMemoryAllocationLib/GuardUefiMemoryAllocationLib.inf
andrewfish3f2035e2011-06-28 18:12:41 +0000402# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
403# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
andrewfish5dcda292011-06-17 16:18:14 +0000404
jljusten72a44be2011-05-15 17:23:33 +0000405 <PcdsFixedAtBuild>
406 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
407 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
408 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
409 }
410!endif
411
jljusten53a68132011-06-20 21:58:22 +0000412!endif
413