VirtualBox

Ignore:
Timestamp:
Mar 31, 2025 11:31:09 AM (2 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168237
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/ArmVirtPkg/ArmVirtQemuKernel.dsc

    r105670 r108794  
    4040  DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS  = TRUE
    4141  DEFINE NETWORK_ISCSI_ENABLE            = FALSE
     42  DEFINE NETWORK_PXE_BOOT_ENABLE         = TRUE
    4243
    4344!if $(NETWORK_SNP_ENABLE) == TRUE
     
    4748!include NetworkPkg/NetworkDefines.dsc.inc
    4849
     50# This comes before MdeLibs to ensure stack cookie configuration is chosen
     51!include ArmVirtPkg/ArmVirt.dsc.inc
     52
    4953!include MdePkg/MdeLibs.dsc.inc
    50 
    51 !include ArmVirtPkg/ArmVirt.dsc.inc
    5254
    5355[LibraryClasses.common]
     
    6668
    6769  TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
    68   VirtNorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf
     70  VirtNorFlashPlatformLib|OvmfPkg/Library/FdtNorFlashQemuLib/FdtNorFlashQemuLib.inf
    6971
    7072  CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
     
    8385  TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf
    8486
     87  ArmMonitorLib|ArmVirtPkg/Library/ArmVirtMonitorLib/ArmVirtMonitorLib.inf
     88
    8589[LibraryClasses.common.DXE_DRIVER]
    8690  AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
     
    121125!endif
    122126
     127  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress|0x00000000
     128  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize|$(FD_SIZE)
    123129  gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
    124130  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
     
    154160
    155161  #
    156   # ARM Virtual Architectural Timer -- fetch frequency from QEMU (TCG) or KVM
    157   #
    158   gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0
    159 
    160   #
    161162  # Network Pcds
    162163  #
    163 !include NetworkPkg/NetworkPcds.dsc.inc
     164!include NetworkPkg/NetworkFixedPcds.dsc.inc
    164165
    165166  gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
     
    181182  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|3
    182183  gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
     184
     185  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize   | 0x40000
     186  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize   | 0x40000
     187  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize | 0x40000
    183188
    184189[PcdsPatchableInModule.common]
     
    204209  gArmTokenSpaceGuid.PcdFvBaseAddress|0x0
    205210
    206   gArmTokenSpaceGuid.PcdMonitorConduitHvc|TRUE
    207 
    208211[PcdsDynamicDefault.common]
    209212  gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
     213
     214  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase     | 0
     215  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64   | 0
     216  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64   | 0
     217  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase     | 0
     218  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase   | 0
     219  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64 | 0
    210220
    211221  ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI
     
    253263  gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
    254264
    255   #
    256   # IPv4 and IPv6 PXE Boot support.
    257   #
    258   gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
    259   gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
     265!include NetworkPkg/NetworkDynamicPcds.dsc.inc
    260266
    261267################################################################################
     
    271277    <LibraryClasses>
    272278      ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
    273       LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
     279      NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
    274280      PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
    275281      HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
     
    314320!endif
    315321  MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
    316   MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
     322  MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf {
     323    <LibraryClasses>
     324      NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
     325  }
    317326  MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
    318327  MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
     
    331340  MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
    332341
    333   ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
     342  ArmPkg/Drivers/ArmGicDxe/ArmGicDxe.inf {
     343    <LibraryClasses>
     344      NULL|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf
     345  }
    334346  ArmPkg/Drivers/TimerDxe/TimerDxe.inf {
    335347    <LibraryClasses>
     
    400412!include NetworkPkg/NetworkComponents.dsc.inc
    401413
     414!if $(NETWORK_ENABLE) == TRUE
     415!if $(NETWORK_PXE_BOOT_ENABLE) == TRUE
    402416  NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
    403417    <LibraryClasses>
    404418      NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
    405419  }
     420!endif
    406421
    407422!if $(NETWORK_TLS_ENABLE) == TRUE
     
    410425      NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
    411426  }
     427!endif
    412428!endif
    413429
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette