]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiPayloadPkg/UefiPayloadPkg.dsc
UefiPayloadPkg: Include Network modules in UefiPayloadPkg.
[mirror_edk2.git] / UefiPayloadPkg / UefiPayloadPkg.dsc
index b4a30be381d7ce3d073880d42a4cf0e6fc0f3a7d..9912f2a20f5b288114091f923b2a07bba26afb79 100644 (file)
@@ -90,6 +90,7 @@
 \r
   DEFINE EMU_VARIABLE_ENABLE   = TRUE\r
   DEFINE DISABLE_RESET_SYSTEM  = FALSE\r
+  DEFINE NETWORK_DRIVER_ENABLE = FALSE\r
 \r
   # Dfine the maximum size of the capsule image without a reset flag that the platform can support.\r
   DEFINE MAX_SIZE_NON_POPULATE_CAPSULE = 0xa00000\r
   CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
   SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
   DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf\r
+  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
+  TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
+  IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
+  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
+  RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
 \r
 !if $(UNIVERSAL_PAYLOAD) == TRUE\r
   HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf\r
 \r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)\r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0\r
+  gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
 \r
 ################################################################################\r
 #\r
 #\r
 ################################################################################\r
 \r
-!if "IA32" in $(ARCH)\r
+!if "IA32" in "$(ARCH)"\r
   [Components.IA32]\r
   !if $(UNIVERSAL_PAYLOAD) == TRUE\r
     UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf\r
   !endif\r
 !endif\r
 \r
+#\r
+# UEFI network modules\r
+#\r
+!if $(NETWORK_DRIVER_ENABLE) == TRUE\r
+  !include NetworkPkg/Network.dsc.inc\r
+!endif\r
+\r
 [Components.X64]\r
   #\r
   # DXE Core\r
       NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
       NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
   }\r
+  MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf\r
 \r
   PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
   MdeModulePkg/Universal/Metronome/Metronome.inf\r
   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
+  MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf\r
+  MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
 \r
   UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf\r
 \r
   MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
   MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
   MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
+  MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
 \r
   #\r
   # SD/eMMC Support\r
   MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
   MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
   MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
+  MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf\r
 \r
   #\r
   # ISA Support\r
   OvmfPkg/SioBusDxe/SioBusDxe.inf\r
   MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
 !endif\r
+  MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
 \r
   #\r
   # Console Support\r