blob: 1c71269d3d45da35db2c71fb1161e757998f40f3 [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
jljusten52cb7112011-10-31 15:58:29 +000024 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
andrewfish63f9b9b2012-01-30 18:57:30 +000074 SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf
75
andrewfish949f3882011-05-11 18:31:20 +000076 #
77 # Generic Modules
78 #
79 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
80 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
81 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
82 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
83 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
84 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
85 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
86 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
87 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
88 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
89 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
90 #
91 # Platform
92 #
jljustenbb89ec12011-06-28 16:47:23 +000093 PlatformBdsLib|EmulatorPkg/Library/EmuBdsLib/EmuBdsLib.inf
94 KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf
jljustend18d8a12011-06-28 16:50:26 +000095
andrewfish949f3882011-05-11 18:31:20 +000096 #
97 # Misc
98 #
99 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
100 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
101 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
jljustenbb89ec12011-06-28 16:47:23 +0000102 PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf
andrewfish1453e772011-06-19 18:59:00 +0000103 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
li-elvin7f5d7422011-09-05 09:47:37 +0000104 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
andrewfish5d81a9b2012-03-16 16:52:46 +0000105 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
andrewfish949f3882011-05-11 18:31:20 +0000106
andrewfish65e3f332011-05-14 16:00:22 +0000107[LibraryClasses.common.SEC]
jljustenbb89ec12011-06-28 16:47:23 +0000108 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
andrewfish65e3f332011-05-14 16:00:22 +0000109 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljustenbb89ec12011-06-28 16:47:23 +0000110 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
111 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
112 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
113 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
andrewfish1453e772011-06-19 18:59:00 +0000114 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenbb89ec12011-06-28 16:47:23 +0000115 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
andrewfish65e3f332011-05-14 16:00:22 +0000116
andrewfish949f3882011-05-11 18:31:20 +0000117[LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
118 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
119 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
120 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
121 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljustenbb89ec12011-06-28 16:47:23 +0000122 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
123 ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf
124 ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf
andrewfish65e3f332011-05-14 16:00:22 +0000125 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000126 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
127 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
andrewfish65e3f332011-05-14 16:00:22 +0000128
andrewfish949f3882011-05-11 18:31:20 +0000129
130[LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
131 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
132 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
133 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000134 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
135 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000136 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000137 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
andrewfish1453e772011-06-19 18:59:00 +0000138 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000139 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000140
141[LibraryClasses.common.PEI_CORE]
142 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
andrewfish949f3882011-05-11 18:31:20 +0000143
144[LibraryClasses.common.PEIM]
145 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000146
147[LibraryClasses.common.DXE_CORE]
148 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
149 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
150 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000151 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000152 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
153 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljustenbb89ec12011-06-28 16:47:23 +0000154 TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf
155 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000156
157[LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
158 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
159 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
160 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
161 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000162 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
163 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
andrewfish1453e772011-06-19 18:59:00 +0000164 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenbb89ec12011-06-28 16:47:23 +0000165 TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000166
167[LibraryClasses.common.UEFI_DRIVER]
168 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljustend18d8a12011-06-28 16:50:26 +0000169
andrewfish949f3882011-05-11 18:31:20 +0000170[LibraryClasses.common.UEFI_APPLICATION]
171 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
172
173
andrewfish949f3882011-05-11 18:31:20 +0000174[PcdsFeatureFlag]
175 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
176 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
177 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
andrewfish1fc93082011-08-11 03:37:26 +0000178 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
andrewfish949f3882011-05-11 18:31:20 +0000179
180[PcdsFixedAtBuild]
lgao4df1b7572011-08-29 13:36:03 +0000181 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
andrewfish949f3882011-05-11 18:31:20 +0000182 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
183 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
184 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
185 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
186 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
187
jljustenbb89ec12011-06-28 16:47:23 +0000188 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
189 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
190 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
jljustend18d8a12011-06-28 16:50:26 +0000191
jljusten59ad4612011-06-29 05:13:33 +0000192 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
jljusten72a44be2011-05-15 17:23:33 +0000193
194!if $(BUILD_NEW_SHELL)
195 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
196!else
197!if $(USE_NEW_SHELL)
198 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
199!endif
200!endif
201
andrewfish949f3882011-05-11 18:31:20 +0000202#define BOOT_WITH_FULL_CONFIGURATION 0x00
203#define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
204#define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
205#define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
206#define BOOT_WITH_DEFAULT_SETTINGS 0x04
207#define BOOT_ON_S4_RESUME 0x05
208#define BOOT_ON_S5_RESUME 0x06
209#define BOOT_ON_S2_RESUME 0x10
210#define BOOT_ON_S3_RESUME 0x11
211#define BOOT_ON_FLASH_UPDATE 0x12
212#define BOOT_IN_RECOVERY_MODE 0x20
jljustenbb89ec12011-06-28 16:47:23 +0000213 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
jljustend18d8a12011-06-28 16:50:26 +0000214
jljustenbb89ec12011-06-28 16:47:23 +0000215 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
andrewfish949f3882011-05-11 18:31:20 +0000216
andrewfish5dcda292011-06-17 16:18:14 +0000217 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
jljustenbb89ec12011-06-28 16:47:23 +0000218 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
219 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
220 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L".!../../../../EdkShellBinPkg/Bin"
221 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
222 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
andrewfish949f3882011-05-11 18:31:20 +0000223
jljustenbb89ec12011-06-28 16:47:23 +0000224 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
225 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
andrewfish949f3882011-05-11 18:31:20 +0000226
andrewfish7e284ac2011-06-08 02:34:12 +0000227 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8
228 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
229
andrewfish949f3882011-05-11 18:31:20 +0000230[PcdsDynamicDefault.common.DEFAULT]
231 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
232 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
233 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
234
235[PcdsDynamicHii.common.DEFAULT]
236 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
237 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
andrewfish949f3882011-05-11 18:31:20 +0000238
239
andrewfish949f3882011-05-11 18:31:20 +0000240[Components]
jljusten53a68132011-06-20 21:58:22 +0000241!ifdef $(UNIX_SEC_BUILD)
andrewfish949f3882011-05-11 18:31:20 +0000242 ##
andrewfish5dcda292011-06-17 16:18:14 +0000243 # Emulator, OS POSIX application
andrewfish949f3882011-05-11 18:31:20 +0000244 ##
jljusten59ad4612011-06-29 05:13:33 +0000245 EmulatorPkg/Unix/Host/Host.inf
jljusten53a68132011-06-20 21:58:22 +0000246!endif
247
248!ifndef $(SKIP_MAIN_BUILD)
andrewfish65e3f332011-05-14 16:00:22 +0000249 #
250 # Generic SEC
251 #
jljustenbb89ec12011-06-28 16:47:23 +0000252 EmulatorPkg/Sec/Sec.inf
andrewfish65e3f332011-05-14 16:00:22 +0000253
andrewfish949f3882011-05-11 18:31:20 +0000254 ##
255 # PEI Phase modules
256 ##
257 MdeModulePkg/Core/Pei/PeiMain.inf
258 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
259 <LibraryClasses>
260 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
261 }
262 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
jljustend18d8a12011-06-28 16:50:26 +0000263 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
264
andrewfish949f3882011-05-11 18:31:20 +0000265 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenbb89ec12011-06-28 16:47:23 +0000266 EmulatorPkg/BootModePei/BootModePei.inf
andrewfish949f3882011-05-11 18:31:20 +0000267 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
jljustenbb89ec12011-06-28 16:47:23 +0000268 EmulatorPkg/AutoScanPei/AutoScanPei.inf
269 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
270 EmulatorPkg/FlashMapPei/FlashMapPei.inf
271 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
andrewfish46e5da22011-09-29 18:51:06 +0000272 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
andrewfish949f3882011-05-11 18:31:20 +0000273
274 ##
275 # DXE Phase modules
276 ##
277 MdeModulePkg/Core/Dxe/DxeMain.inf {
278 <LibraryClasses>
andrewfish1453e772011-06-19 18:59:00 +0000279 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
andrewfishbed0bbc2011-08-11 03:23:09 +0000280 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
281 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000282 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
283 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
284 }
285 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
286 <LibraryClasses>
287 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
288 }
289
290 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
291 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
292 <LibraryClasses>
andrewfish1453e772011-06-19 18:59:00 +0000293 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustend18d8a12011-06-28 16:50:26 +0000294 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
andrewfish949f3882011-05-11 18:31:20 +0000295 }
296
andrewfish1ef41202011-06-21 23:41:31 +0000297 MdeModulePkg/Universal/Metronome/Metronome.inf
jljustenbb89ec12011-06-28 16:47:23 +0000298 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
299 EmulatorPkg/ResetRuntimeDxe/Reset.inf
andrewfish949f3882011-05-11 18:31:20 +0000300 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljustenbb89ec12011-06-28 16:47:23 +0000301 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
andrewfish949f3882011-05-11 18:31:20 +0000302 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
303 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
304 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljustenbb89ec12011-06-28 16:47:23 +0000305 EmulatorPkg/EmuThunkDxe/EmuThunk.inf
306 EmulatorPkg/CpuRuntimeDxe/Cpu.inf
andrewfish949f3882011-05-11 18:31:20 +0000307 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
andrewfish63f9b9b2012-01-30 18:57:30 +0000308 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
jljustenbb89ec12011-06-28 16:47:23 +0000309 EmulatorPkg/TimerDxe/Timer.inf
andrewfish949f3882011-05-11 18:31:20 +0000310
311
312 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
313 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
314 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
315 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
316 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
317 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
318 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
andrewfish7e284ac2011-06-08 02:34:12 +0000319 EmbeddedPkg/SerialDxe/SerialDxe.inf {
320 <LibraryClasses>
321 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
jljustend18d8a12011-06-28 16:50:26 +0000322 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
andrewfish7e284ac2011-06-08 02:34:12 +0000323 }
jljustend18d8a12011-06-28 16:50:26 +0000324
andrewfish949f3882011-05-11 18:31:20 +0000325 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
326 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
jljustend18d8a12011-06-28 16:50:26 +0000327 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
andrewfish5dcda292011-06-17 16:18:14 +0000328 #{
jljustend18d8a12011-06-28 16:50:26 +0000329 # <LibraryClasses>
jljustenbb89ec12011-06-28 16:47:23 +0000330 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
andrewfish5dcda292011-06-17 16:18:14 +0000331 #}
jljustend18d8a12011-06-28 16:50:26 +0000332
andrewfish949f3882011-05-11 18:31:20 +0000333 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
334 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
335 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
336 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
337 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
338 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
339 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
340
jljustenbb89ec12011-06-28 16:47:23 +0000341 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
342 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
343 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
344 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
345 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
andrewfish949f3882011-05-11 18:31:20 +0000346
andrewfish949f3882011-05-11 18:31:20 +0000347 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
348
349 #
350 # Network stack drivers
351 #
andrewfish949f3882011-05-11 18:31:20 +0000352 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
353 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
354 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
355 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
356 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
357 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
358 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
359 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
360 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
361 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
362
363 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
364 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
365 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
366 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
367 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
368 <LibraryClasses>
369 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
370 }
371
jljusten72a44be2011-05-15 17:23:33 +0000372!if $(BUILD_FAT)
andrewfish949f3882011-05-11 18:31:20 +0000373 FatPkg/EnhancedFatDxe/Fat.inf
374!endif
jljusten72a44be2011-05-15 17:23:33 +0000375
376!if $(BUILD_NEW_SHELL)
377 ShellPkg/Application/Shell/Shell.inf {
378 <LibraryClasses>
379 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
380 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
381 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
382 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
383 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
384 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
385 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
386 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
387 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
388 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
389 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
390 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
391 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
andrewfish5407ce12011-07-01 16:58:47 +0000392 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
393# MemoryAllocationLib|EmulatorPkg/Library/GuardUefiMemoryAllocationLib/GuardUefiMemoryAllocationLib.inf
andrewfish3f2035e2011-06-28 18:12:41 +0000394# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
395# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
andrewfish5dcda292011-06-17 16:18:14 +0000396
jljusten72a44be2011-05-15 17:23:33 +0000397 <PcdsFixedAtBuild>
398 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
399 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
400 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
401 }
402!endif
403
jljusten53a68132011-06-20 21:58:22 +0000404!endif
405