Nt32Pkg.dsc 27 KB

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