EmulatorPkg.dsc 21 KB

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