Nt32Pkg.dsc 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  1. ## @file
  2. # EFI/Framework 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. # Copyright (c) 2015, Hewlett-Packard Development Company, L.P.<BR>
  9. # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
  10. #
  11. # SPDX-License-Identifier: BSD-2-Clause-Patent
  12. #
  13. ##
  14. ################################################################################
  15. #
  16. # Defines Section - statements that will be processed to create a Makefile.
  17. #
  18. ################################################################################
  19. [Defines]
  20. PLATFORM_NAME = NT32
  21. PLATFORM_GUID = EB216561-961F-47EE-9EF9-CA426EF547C2
  22. PLATFORM_VERSION = 0.4
  23. DSC_SPECIFICATION = 0x00010005
  24. OUTPUT_DIRECTORY = Build/NT32$(ARCH)
  25. SUPPORTED_ARCHITECTURES = IA32|X64
  26. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  27. SKUID_IDENTIFIER = DEFAULT
  28. FLASH_DEFINITION = Nt32Pkg/Nt32Pkg.fdf
  29. #
  30. # This flag is to control tool to generate PCD info for dynamic(ex) PCD,
  31. # then enable or disable PCD info feature. TRUE is enable, and FLASE is disable.
  32. # If the flag is absent, it will be same as FALSE.
  33. #
  34. PCD_INFO_GENERATION = TRUE
  35. #
  36. # Defines for default states. These can be changed on the command line.
  37. # -D FLAG=VALUE
  38. #
  39. # Note: Secure Boot feature highly depends on the OpenSSL building. To enable this
  40. # feature, please follow the instructions found in the file "Patch-HOWTO.txt"
  41. # located in CryptoPkg\Library\OpensslLib to enable the OpenSSL building first.
  42. #
  43. DEFINE SECURE_BOOT_ENABLE = FALSE
  44. #
  45. # This flag is to enable or disable TLS feature.
  46. # These can be changed on the command line.
  47. # -D FLAG=VALUE
  48. #
  49. # Note: TLS feature highly depends on the OpenSSL building. To enable this
  50. # feature, please follow the instructions found in the file "Patch-HOWTO.txt"
  51. # located in CryptoPkg\Library\OpensslLib to enable the OpenSSL building first.
  52. #
  53. DEFINE TLS_ENABLE = FALSE
  54. #
  55. # Indicates whether HTTP connections (i.e., unsecured) are permitted or not.
  56. # -D FLAG=VALUE
  57. #
  58. # Note: If ALLOW_HTTP_CONNECTIONS is TRUE, HTTP connections are allowed. Both
  59. # the "https://" and "http://" URI schemes are permitted. Otherwise, HTTP
  60. # connections are denied. Only the "https://" URI scheme is permitted.
  61. #
  62. DEFINE ALLOW_HTTP_CONNECTIONS = TRUE
  63. #
  64. # This flag is to enable or disable IPv6 network stack.
  65. # These can be changed on the command line.
  66. # -D FLAG=VALUE
  67. #
  68. DEFINE NETWORK_IP6_ENABLE = FALSE
  69. ################################################################################
  70. #
  71. # SKU Identification section - list of all SKU IDs supported by this
  72. # Platform.
  73. #
  74. ################################################################################
  75. [SkuIds]
  76. 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
  77. ################################################################################
  78. #
  79. # Library Class section - list of all Library Classes needed by this Platform.
  80. #
  81. ################################################################################
  82. [LibraryClasses]
  83. #
  84. # Entry point
  85. #
  86. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  87. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  88. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  89. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  90. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  91. #
  92. # Basic
  93. #
  94. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  95. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  96. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  97. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  98. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  99. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  100. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  101. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  102. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  103. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  104. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  105. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  106. #
  107. # UEFI & PI
  108. #
  109. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  110. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  111. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  112. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  113. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  114. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  115. DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
  116. UefiDecompressLib|MdeModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
  117. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  118. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  119. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  120. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  121. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  122. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  123. #
  124. # Generic Modules
  125. #
  126. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  127. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  128. NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
  129. IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
  130. UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
  131. TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
  132. HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
  133. DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
  134. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  135. GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
  136. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  137. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  138. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  139. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  140. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  141. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  142. #
  143. # Platform
  144. #
  145. PlatformBootManagerLib|Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  146. #
  147. # Misc
  148. #
  149. DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
  150. DebugPrintErrorLevelLib|MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.inf
  151. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  152. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  153. CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
  154. LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
  155. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  156. ResetSystemLib|Nt32Pkg/Library/ResetSystemLib/ResetSystemLib.inf
  157. !if $(TLS_ENABLE) == TRUE
  158. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  159. !else
  160. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
  161. !endif
  162. !if $(SECURE_BOOT_ENABLE) == TRUE
  163. PlatformSecureLib|Nt32Pkg/Library/PlatformSecureLib/PlatformSecureLib.inf
  164. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  165. AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  166. !else
  167. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  168. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  169. !endif
  170. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  171. [LibraryClasses.common.USER_DEFINED]
  172. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  173. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  174. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  175. OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
  176. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  177. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  178. [LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
  179. #
  180. # PEI phase common
  181. #
  182. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  183. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  184. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  185. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  186. BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
  187. IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
  188. PeCoffGetEntryPointLib|Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/Nt32PeiPeCoffGetEntryPointLib.inf
  189. PeCoffExtraActionLib|Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.inf
  190. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  191. [LibraryClasses.common.PEI_CORE]
  192. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  193. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  194. [LibraryClasses.common.PEIM]
  195. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  196. OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
  197. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  198. [LibraryClasses.common]
  199. #
  200. # DXE phase common
  201. #
  202. BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
  203. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  204. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  205. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  206. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  207. OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
  208. PeCoffExtraActionLib|Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.inf
  209. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  210. WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
  211. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  212. TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
  213. [LibraryClasses.common.DXE_CORE]
  214. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  215. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  216. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  217. [LibraryClasses.common.DXE_SMM_DRIVER]
  218. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  219. [LibraryClasses.common.UEFI_DRIVER]
  220. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  221. [LibraryClasses.common.UEFI_APPLICATION]
  222. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  223. PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
  224. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  225. #
  226. # Runtime
  227. #
  228. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  229. ################################################################################
  230. #
  231. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  232. #
  233. ################################################################################
  234. [PcdsFeatureFlag]
  235. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  236. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
  237. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
  238. gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
  239. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
  240. [PcdsFixedAtBuild]
  241. gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000
  242. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
  243. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
  244. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
  245. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
  246. gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Nt32.fd"
  247. gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000
  248. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
  249. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  250. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  251. !if $(ALLOW_HTTP_CONNECTIONS) == TRUE
  252. gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
  253. !endif
  254. !if $(SECURE_BOOT_ENABLE) == TRUE
  255. # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
  256. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
  257. gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
  258. gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
  259. !endif
  260. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  261. ################################################################################
  262. #
  263. # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
  264. #
  265. ################################################################################
  266. [PcdsDynamicDefault.common.DEFAULT]
  267. gEfiNt32PkgTokenSpaceGuid.PcdWinNtSerialPort|L"COM1!COM2"|VOID*|20
  268. gEfiNt32PkgTokenSpaceGuid.PcdWinNtGop|L"UGA Window 1!UGA Window 2"|VOID*|52
  269. gEfiNt32PkgTokenSpaceGuid.PcdWinNtConsole|L"Bus Driver Console Window"|VOID*|52
  270. gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk|L"FW;40960;512"|VOID*|26
  271. gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySize|L"64!64"|VOID*|12
  272. gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk|L"a:RW;2880;512!d:RO;307200;2048!j:RW;262144;512"|VOID*|100
  273. gEfiNt32PkgTokenSpaceGuid.PcdWinNtUga|L"UGA Window 1!UGA Window 2"|VOID*|52
  274. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
  275. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
  276. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0
  277. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
  278. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
  279. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
  280. [PcdsDynamicDefault.Ia32]
  281. gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L"."|VOID*|106
  282. [PcdsDynamicDefault.x64]
  283. gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L"."|VOID*|106
  284. [PcdsDynamicHii.common.DEFAULT]
  285. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x0|80
  286. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"SetupConsoleConfig"|gEfiNt32PkgTokenSpaceGuid|0x4|25
  287. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
  288. gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1
  289. ###################################################################################################
  290. #
  291. # Components Section - list of the modules and components that will be processed by compilation
  292. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  293. #
  294. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  295. # into firmware volume images. This section is just a list of modules to compile from
  296. # source into UEFI-compliant binaries.
  297. # It is the FDF file that contains information on combining binary files into firmware
  298. # volume images, whose concept is beyond UEFI and is described in PI specification.
  299. # Binary modules do not need to be listed in this section, as they should be
  300. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  301. # Logo (Logo.bmp), and etc.
  302. # There may also be modules listed in this section that are not required in the FDF file,
  303. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  304. # generated for it, but the binary will not be put into any firmware volume.
  305. #
  306. ###################################################################################################
  307. [Components]
  308. ##
  309. # SEC Phase modules
  310. ##
  311. Nt32Pkg/Sec/SecMain.inf
  312. ##
  313. # PEI Phase modules
  314. ##
  315. MdeModulePkg/Core/Pei/PeiMain.inf
  316. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  317. <LibraryClasses>
  318. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  319. }
  320. MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
  321. MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
  322. Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf
  323. Nt32Pkg/BootModePei/BootModePei.inf
  324. Nt32Pkg/StallPei/StallPei.inf
  325. Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
  326. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  327. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  328. Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
  329. Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
  330. Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
  331. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
  332. ##
  333. # DXE Phase modules
  334. ##
  335. MdeModulePkg/Core/Dxe/DxeMain.inf {
  336. <LibraryClasses>
  337. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  338. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  339. <BuildOptions>
  340. *_*_*_CC_FLAGS =
  341. }
  342. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  343. <LibraryClasses>
  344. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  345. }
  346. Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
  347. Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  348. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  349. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  350. Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
  351. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
  352. <LibraryClasses>
  353. !if $(SECURE_BOOT_ENABLE) == TRUE
  354. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  355. !endif
  356. }
  357. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  358. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  359. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  360. Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
  361. Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
  362. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  363. Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
  364. Nt32Pkg/TimerDxe/TimerDxe.inf
  365. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  366. MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
  367. Nt32Pkg/WinNtOemHookStatusCodeHandlerDxe/WinNtOemHookStatusCodeHandlerDxe.inf
  368. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  369. <LibraryClasses>
  370. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  371. }
  372. !if $(SECURE_BOOT_ENABLE) == TRUE
  373. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  374. !endif
  375. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  376. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  377. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  378. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  379. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
  380. <LibraryClasses>
  381. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  382. }
  383. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
  384. <LibraryClasses>
  385. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  386. }
  387. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
  388. <LibraryClasses>
  389. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  390. }
  391. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  392. <LibraryClasses>
  393. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  394. }
  395. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  396. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  397. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  398. FatPkg/EnhancedFatDxe/Fat.inf
  399. MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
  400. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  401. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition
  402. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition
  403. IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
  404. Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf {
  405. <LibraryClasses>
  406. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  407. }
  408. Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
  409. Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
  410. Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
  411. Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
  412. MdeModulePkg/Application/HelloWorld/HelloWorld.inf
  413. #
  414. # Network stack drivers
  415. # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.
  416. #
  417. MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
  418. MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
  419. MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
  420. MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
  421. MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
  422. MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
  423. MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
  424. MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
  425. NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
  426. NetworkPkg/TcpDxe/TcpDxe.inf
  427. NetworkPkg/IScsiDxe/IScsiDxe.inf
  428. Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
  429. !if $(NETWORK_IP6_ENABLE) == TRUE
  430. NetworkPkg/Ip6Dxe/Ip6Dxe.inf
  431. NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
  432. NetworkPkg/Udp6Dxe/Udp6Dxe.inf
  433. NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
  434. !endif
  435. NetworkPkg/HttpBootDxe/HttpBootDxe.inf
  436. NetworkPkg/DnsDxe/DnsDxe.inf
  437. NetworkPkg/HttpDxe/HttpDxe.inf
  438. NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
  439. !if $(TLS_ENABLE) == TRUE
  440. NetworkPkg/TlsDxe/TlsDxe.inf
  441. NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
  442. !endif
  443. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  444. MdeModulePkg/Application/UiApp/UiApp.inf{
  445. <LibraryClasses>
  446. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  447. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  448. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  449. }
  450. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  451. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  452. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  453. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  454. MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
  455. MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
  456. <LibraryClasses>
  457. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  458. }
  459. MdeModulePkg/Application/VariableInfo/VariableInfo.inf
  460. MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
  461. MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf
  462. MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {
  463. <LibraryClasses>
  464. NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
  465. }
  466. MdeModulePkg/Logo/LogoDxe.inf
  467. ShellPkg/Application/Shell/Shell.inf {
  468. <PcdsFixedAtBuild>
  469. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  470. <LibraryClasses>
  471. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  472. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  473. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  474. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  475. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  476. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  477. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  478. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  479. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  480. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  481. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  482. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  483. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  484. }
  485. ###################################################################################################
  486. #
  487. # BuildOptions Section - Define the module specific tool chain flags that should be used as
  488. # the default flags for a module. These flags are appended to any
  489. # standard flags that are defined by the build process. They can be
  490. # applied for any modules or only those modules with the specific
  491. # module style (EDK or EDKII) specified in [Components] section.
  492. #
  493. ###################################################################################################
  494. [BuildOptions]
  495. DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
  496. NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000 /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
  497. RELEASE_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096