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/OvmfPkg/OvmfPkgIa32.dsc

    r106190 r108794  
    22#  EFI/Framework Open Virtual Machine Firmware (OVMF) platform
    33#
    4 #  Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
     4#  Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR>
    55#  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
    66#  Copyright (c) Microsoft Corporation.
     
    5454  DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
    5555  DEFINE NETWORK_ISCSI_ENABLE           = TRUE
     56  DEFINE NETWORK_PXE_BOOT_ENABLE        = TRUE
    5657
    5758!include NetworkPkg/NetworkDefines.dsc.inc
     
    294295  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    295296  CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
     297  TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
    296298  TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLibNull.inf
     299  TdxHelperLib|OvmfPkg/IntelTdx/TdxHelperLib/TdxHelperLibNull.inf
    297300
    298301[LibraryClasses.common.SEC]
     
    657660  # Network Pcds
    658661  #
    659 !include NetworkPkg/NetworkPcds.dsc.inc
     662!include NetworkPkg/NetworkFixedPcds.dsc.inc
    660663
    661664  gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
     
    693696  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
    694697!endif
    695 !ifndef $(VBOX)
    696   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
    697   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
    698 !else
    699   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1024
    700   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|768
    701 !endif
    702   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
    703   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
    704698  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
    705   gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
    706699  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
    707700  gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
     
    709702  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
    710703  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
     704  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
     705  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
    711706
    712707  gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
    713708
    714709  # Set video resolution for text setup.
     710!ifndef $(VBOX)
    715711  gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
    716712  gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
     713!else
     714  gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|FALSE
     715  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1024
     716  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|768
     717!endif
    717718
    718719  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
     
    743744  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
    744745  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
     746  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout2|100000
    745747!endif
    746748
     
    748750
    749751!include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
    750 
    751   # IPv4 and IPv6 PXE Boot support.
    752   gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
    753   gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
     752!include OvmfPkg/Include/Dsc/OvmfDisplayPcds.dsc.inc
     753
     754!include NetworkPkg/NetworkDynamicPcds.dsc.inc
    754755
    755756  # Set ConfidentialComputing defaults
     
    808809
    809810  OvmfPkg/PlatformPei/PlatformPei.inf
     811
    810812  UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
    811813    <LibraryClasses>
     
    895897  OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
    896898!ifndef $(VBOX)
    897   OvmfPkg/VirtioRngDxe/VirtioRng.inf
    898899  OvmfPkg/VirtioSerialDxe/VirtioSerial.inf
    899 !else
    900   SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
     900  OvmfPkg/VirtioKeyboardDxe/VirtioKeyboard.inf
    901901!endif
    902902!if $(PVSCSI_ENABLE) == TRUE
     
    996996!include NetworkPkg/NetworkComponents.dsc.inc
    997997!include OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc
    998 
    999   OvmfPkg/VirtioNetDxe/VirtioNet.inf
    1000 !ifdef $(VBOX)
    1001   VBoxPkg/E1kNetDxe/E1kNet.inf
    1002 !endif
    1003 
    1004   #
    1005   # Usb Support
    1006   #
    1007   MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
    1008   MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
    1009   MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
    1010   MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
    1011   MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
    1012   MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
    1013 
     998!include OvmfPkg/Include/Dsc/UsbComponents.dsc.inc
    1014999!include OvmfPkg/Include/Dsc/ShellComponents.dsc.inc
     1000!include OvmfPkg/Include/Dsc/MorLock.dsc.inc
     1001!include OvmfPkg/Include/Dsc/OvmfRngComponents.dsc.inc
    10151002
    10161003!if $(SECURE_BOOT_ENABLE) == TRUE
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