7023de9ba27affca61040aa9c80d454548eccd36
[mirror_edk2.git] / EmulatorPkg / EmulatorPkg.dsc
1 ## @file\r
2 # UEFI/PI Emulation Platform with UEFI HII interface supported.\r
3 #\r
4 # The Emulation Platform can be used to debug individual modules, prior to creating\r
5 # a real platform. This also provides an example for how an DSC is created.\r
6 #\r
7 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
8 # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>\r
9 #\r
10 # SPDX-License-Identifier: BSD-2-Clause-Patent\r
11 #\r
12 ##\r
13 \r
14 [Defines]\r
15   PLATFORM_NAME                  = EmulatorPkg\r
16   PLATFORM_GUID                  = 05FD064D-1073-E844-936C-A0E16317107D\r
17   PLATFORM_VERSION               = 0.3\r
18   DSC_SPECIFICATION              = 0x00010005\r
19   OUTPUT_DIRECTORY               = Build/Emulator$(ARCH)\r
20 \r
21   SUPPORTED_ARCHITECTURES        = X64|IA32\r
22   BUILD_TARGETS                  = DEBUG|RELEASE\r
23   SKUID_IDENTIFIER               = DEFAULT\r
24   FLASH_DEFINITION               = EmulatorPkg/EmulatorPkg.fdf\r
25 \r
26 [SkuIds]\r
27   0|DEFAULT\r
28 \r
29 [LibraryClasses]\r
30   #\r
31   # Entry point\r
32   #\r
33   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
34   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
35   DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
36   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
37   UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
38   #\r
39   # Basic\r
40   #\r
41   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
42   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
43   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
44   CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
45   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
46   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
47   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
48   FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
49 \r
50   #\r
51   # UEFI & PI\r
52   #\r
53   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
54   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
55   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
56   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
57   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
58   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
59   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
60   UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
61 \r
62   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
63   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
64   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
65   SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf\r
66 \r
67   #\r
68   # Generic Modules\r
69   #\r
70   UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
71   NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
72   IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
73   UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
74   DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
75   OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
76   BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
77   FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
78   UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
79   BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
80   SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
81   CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
82   SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
83   TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
84   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
85   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
86   #\r
87   # Platform\r
88   #\r
89   PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf\r
90   KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf\r
91 \r
92   #\r
93   # Misc\r
94   #\r
95   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
96   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
97   DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
98   PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf\r
99   DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
100   LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
101   CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
102   TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
103   AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
104   VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
105   SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r
106   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
107   FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
108 \r
109 [LibraryClasses.common.SEC]\r
110   PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r
111   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
112   PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r
113   PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r
114   SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r
115   PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r
116   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
117   TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r
118 \r
119 [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]\r
120   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
121   PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
122   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
123   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
124   PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r
125   ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf\r
126   ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf\r
127   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
128   PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r
129   PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r
130 \r
131 \r
132 [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]\r
133   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
134   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
135   ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
136   PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r
137   PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r
138   ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
139   SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r
140   ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
141   TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r
142 \r
143 [LibraryClasses.common.PEI_CORE]\r
144   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
145 \r
146 [LibraryClasses.common.PEIM]\r
147   PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
148 \r
149 [LibraryClasses.common.DXE_CORE]\r
150   HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
151   MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
152   ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
153   PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r
154   ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
155   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
156   TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf\r
157   EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r
158 \r
159 [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r
160   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
161   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
162   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
163   ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
164   EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r
165   PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r
166   ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
167   TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf\r
168 \r
169 [PcdsFeatureFlag]\r
170   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
171   gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
172   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE\r
173   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE\r
174 \r
175 [PcdsFixedAtBuild]\r
176   gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000\r
177   gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
178   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040\r
179   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r
180   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r
181   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0\r
182   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0\r
183 \r
184   gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000\r
185   gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000\r
186   gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"\r
187 \r
188   gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"\r
189 \r
190   # Change PcdBootManagerMenuFile to UiApp\r
191   gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
192 \r
193 \r
194 #define BOOT_WITH_FULL_CONFIGURATION                  0x00\r
195 #define BOOT_WITH_MINIMAL_CONFIGURATION               0x01\r
196 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES        0x02\r
197 #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03\r
198 #define BOOT_WITH_DEFAULT_SETTINGS                    0x04\r
199 #define BOOT_ON_S4_RESUME                             0x05\r
200 #define BOOT_ON_S5_RESUME                             0x06\r
201 #define BOOT_ON_S2_RESUME                             0x10\r
202 #define BOOT_ON_S3_RESUME                             0x11\r
203 #define BOOT_ON_FLASH_UPDATE                          0x12\r
204 #define BOOT_IN_RECOVERY_MODE                         0x20\r
205   gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0\r
206 \r
207   gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"\r
208 \r
209   # For a CD-ROM/DVD use L"diag.dmg:RO:2048"\r
210   gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"\r
211   gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"\r
212   gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."\r
213   gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"\r
214   gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"\r
215 \r
216   gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"\r
217   gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"\r
218 \r
219   #  0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r
220   gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r
221 \r
222 [PcdsDynamicDefault.common.DEFAULT]\r
223   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r
224   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r
225   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
226 \r
227 [PcdsDynamicHii.common.DEFAULT]\r
228   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80\r
229   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25\r
230   gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10\r
231 \r
232 [Components]\r
233 !ifdef $(UNIX_SEC_BUILD)\r
234   ##\r
235   #  Emulator, OS POSIX application\r
236   ##\r
237   EmulatorPkg/Unix/Host/Host.inf\r
238 !endif\r
239 \r
240 !ifdef $(WIN_SEC_BUILD)\r
241   ##\r
242   #  Emulator, OS WIN application\r
243   ##\r
244   EmulatorPkg/Win/Host/WinHost.inf\r
245 !endif\r
246 \r
247 !ifndef $(SKIP_MAIN_BUILD)\r
248   #\r
249   # Generic SEC\r
250   #\r
251   EmulatorPkg/Sec/Sec.inf\r
252 \r
253   ##\r
254   #  PEI Phase modules\r
255   ##\r
256   MdeModulePkg/Core/Pei/PeiMain.inf\r
257   MdeModulePkg/Universal/PCD/Pei/Pcd.inf  {\r
258    <LibraryClasses>\r
259       PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
260   }\r
261   MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
262   MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
263 \r
264   IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
265   EmulatorPkg/BootModePei/BootModePei.inf\r
266   MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
267   MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
268   EmulatorPkg/AutoScanPei/AutoScanPei.inf\r
269   EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf\r
270   EmulatorPkg/FlashMapPei/FlashMapPei.inf\r
271   EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf\r
272   MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
273 \r
274   ##\r
275   #  DXE Phase modules\r
276   ##\r
277   MdeModulePkg/Core/Dxe/DxeMain.inf {\r
278     <LibraryClasses>\r
279       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
280       SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r
281       DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r
282       NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
283       NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
284   }\r
285   MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
286     <LibraryClasses>\r
287       PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
288   }\r
289 \r
290   MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
291   MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {\r
292    <LibraryClasses>\r
293       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
294       SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r
295   }\r
296 \r
297   MdeModulePkg/Universal/Metronome/Metronome.inf\r
298   EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf\r
299   EmulatorPkg/ResetRuntimeDxe/Reset.inf\r
300   MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
301   EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
302   MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
303   MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
304   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
305   EmulatorPkg/EmuThunkDxe/EmuThunk.inf\r
306   EmulatorPkg/CpuRuntimeDxe/Cpu.inf\r
307   MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
308   EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf\r
309   EmulatorPkg/TimerDxe/Timer.inf\r
310 \r
311 \r
312   MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
313     <LibraryClasses>\r
314       NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
315   }\r
316   MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
317   MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
318   MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
319   MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
320   MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
321   MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
322   MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r
323    <LibraryClasses>\r
324       DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
325       SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf\r
326   }\r
327 \r
328   MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
329   MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
330   MdeModulePkg/Logo/LogoDxe.inf\r
331   MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf\r
332   MdeModulePkg/Application/UiApp/UiApp.inf {\r
333    <LibraryClasses>\r
334       NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
335       NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
336       NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
337   }\r
338   MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf\r
339 \r
340   MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
341   #{\r
342   #  <LibraryClasses>\r
343   #    NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf\r
344   #}\r
345 \r
346   MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
347   MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
348   MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
349   MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
350   MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
351   MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
352   IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
353 \r
354   EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf\r
355   EmulatorPkg/EmuGopDxe/EmuGopDxe.inf\r
356   EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf\r
357   EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf\r
358   EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf\r
359 \r
360   MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
361 \r
362   #\r
363   # Network stack drivers\r
364   #\r
365   MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
366   MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
367   MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
368   MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
369   MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
370   MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
371   MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
372   MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
373   NetworkPkg/TcpDxe/TcpDxe.inf\r
374 \r
375   MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
376   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
377   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
378   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
379   MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
380   MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {\r
381     <LibraryClasses>\r
382       PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
383   }\r
384 \r
385   FatPkg/EnhancedFatDxe/Fat.inf\r
386 \r
387   ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
388     <PcdsFixedAtBuild>\r
389       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
390   }\r
391   ShellPkg/Application/Shell/Shell.inf {\r
392     <LibraryClasses>\r
393       ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
394       NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
395       NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
396       NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
397       NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
398       NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
399       NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
400       NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
401       HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
402       SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
403       PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
404 #      SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
405 #      SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
406       BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
407       IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
408 \r
409     <PcdsFixedAtBuild>\r
410       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
411       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
412       gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
413   }\r
414 \r
415 !endif\r
416 \r
417 [BuildOptions]\r
418   MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-\r
419   MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-\r
420 \r
421   MSFT:*_*_*_DLINK_FLAGS     = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r
422   MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r
423   MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r
424 \r