]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiPayloadPkg/UefiPayloadPkg.dsc
UefiPayloadPkg: Remove asm code and sharing libraries
[mirror_edk2.git] / UefiPayloadPkg / UefiPayloadPkg.dsc
index 856d5ea786326525835eb5a9dfde6b87d47d5937..9319422efe4b993fe1c757debb912b5e681edbd0 100644 (file)
@@ -28,6 +28,8 @@
 \r
   DEFINE SOURCE_DEBUG_ENABLE          = FALSE\r
   DEFINE PS2_KEYBOARD_ENABLE          = FALSE\r
+  DEFINE RAM_DISK_ENABLE              = FALSE\r
+  DEFINE SIO_BUS_ENABLE               = FALSE\r
   DEFINE UNIVERSAL_PAYLOAD            = FALSE\r
 \r
   #\r
@@ -39,7 +41,7 @@
   #\r
   # CPU options\r
   #\r
-  DEFINE MAX_LOGICAL_PROCESSORS       = 64\r
+  DEFINE MAX_LOGICAL_PROCESSORS       = 256\r
 \r
   #\r
   # PCI options\r
@@ -90,6 +92,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
-\r
-!if $(UNIVERSAL_PAYLOAD) == TRUE\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
   HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf\r
-!else\r
-  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
-!endif\r
 \r
   #\r
   # UEFI & PI\r
   TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf\r
   ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
   SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
-!if $(UNIVERSAL_PAYLOAD) == TRUE\r
-  PlatformHookLib|UefiPayloadPkg/Library/UniversalPayloadPlatformHookLib/PlatformHookLib.inf\r
-!else\r
   PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf\r
-!endif\r
   PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
   IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r
 \r
   gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
 !endif\r
 \r
+[PcdsPatchableInModule.X64]\r
+  gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)\r
+  gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER)\r
+  gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
+\r
 [PcdsPatchableInModule.common]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
 !endif\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|$(MAX_SIZE_NON_POPULATE_CAPSULE)\r
-  gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)\r
-  gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER)\r
   #\r
   # The following parameters are set by Library/PlatformHookLib\r
   #\r
 \r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)\r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0\r
+  gUefiPayloadPkgTokenSpaceGuid.PcdBootloaderParameter|0\r
 \r
 ################################################################################\r
 #\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/ScsiDiskDxe/ScsiDiskDxe.inf\r
   MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
 \r
+!if $(RAM_DISK_ENABLE) == TRUE\r
+  MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
+!endif\r
   #\r
   # SD/eMMC Support\r
   #\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
 !if $(SERIAL_DRIVER_ENABLE) == TRUE\r
   MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
 !endif\r
-!if $(PS2_KEYBOARD_ENABLE) == TRUE\r
+!if $(SIO_BUS_ENABLE) == TRUE\r
   OvmfPkg/SioBusDxe/SioBusDxe.inf\r
+!endif\r
+!if $(PS2_KEYBOARD_ENABLE) == TRUE\r
   MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
 !endif\r
+  MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
 \r
   #\r
   # Console Support\r