VirtualBox

Ignore:
Timestamp:
Aug 14, 2024 1:16:30 PM (8 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164367
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

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

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Microvm/MicrovmX64.dsc

    r101291 r105670  
    3535
    3636  #
     37  # Shell can be useful for debugging but should not be enabled for production
     38  #
     39  DEFINE BUILD_SHELL             = TRUE
     40
     41  #
    3742  # Network definition
    3843  #
     
    125130
    126131[LibraryClasses]
     132  SmmRelocationLib|OvmfPkg/Library/SmmRelocationLib/SmmRelocationLib.inf
    127133  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    128134  TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
     
    186192  PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
    187193  DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
     194  ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf
    188195
    189196!if $(SOURCE_DEBUG_ENABLE) == TRUE
     
    204211  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
    205212!endif
    206   RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
     213  RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
    207214
    208215!if $(SECURE_BOOT_ENABLE) == TRUE
     
    230237!endif
    231238
    232   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
    233239  ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
    234240  S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
     
    239245  TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
    240246
     247!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
     248
    241249[LibraryClasses.common]
     250  AmdSvsmLib|OvmfPkg/Library/AmdSvsmLib/AmdSvsmLib.inf
    242251  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    243252  CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
     
    556565  gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
    557566
    558   # IRQs 5, 9, 10, 11 are level-triggered
    559   gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
    560 
    561567  # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
    562568  gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
     
    566572  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF}
    567573  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
     574
     575  #
     576  # PcdFirstTimeWakeUpAPsBySipi determines whether to employ
     577  # SIPI instead of the INIT-SIPI-SIPI sequence during APs
     578  # initialization. Deactivate this parameter to preserve
     579  # the original execution of INIT-SIPI-SIPI.
     580  #
     581  gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE
    568582
    569583################################################################################
     
    780794  MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
    781795  MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
    782   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
    783796
    784797  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
     
    833846  MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
    834847
    835 !if $(TOOL_CHAIN_TAG) != "XCODE5"
    836   ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
    837     <PcdsFixedAtBuild>
    838       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
    839   }
    840   ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
    841     <PcdsFixedAtBuild>
    842       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
    843   }
    844   OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
    845     <PcdsFixedAtBuild>
    846       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
    847   }
    848 !endif
    849   ShellPkg/Application/Shell/Shell.inf {
    850     <LibraryClasses>
    851       ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
    852       NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
    853       NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
    854       NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
    855       NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
    856       NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
    857       NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
    858       NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
    859 !if $(NETWORK_IP6_ENABLE) == TRUE
    860       NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
    861 !endif
    862       HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
    863       PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
    864       BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
    865 
    866     <PcdsFixedAtBuild>
    867       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
    868       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
    869       gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
    870   }
     848!include OvmfPkg/Include/Dsc/ShellComponents.dsc.inc
    871849
    872850!if $(SECURE_BOOT_ENABLE) == TRUE
  • trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Microvm/MicrovmX64.fdf

    r101291 r105670  
    62620x00C000|0x001000
    6363gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupSize
     64
     650x00D000|0x001000
     66gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecApicPageTableBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecApicPageTableSize
    6467
    65680x010000|0x010000
     
    237240INF  MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
    238241INF  MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
    239 INF  MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
    240242
    241243!if $(SOURCE_DEBUG_ENABLE) == FALSE
     
    258260INF  EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
    259261INF  OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
    260 
    261 !if $(TOOL_CHAIN_TAG) != "XCODE5"
    262 INF  ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
    263 INF  ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
    264 INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
    265 !endif
    266 INF  ShellPkg/Application/Shell/Shell.inf
    267262
    268263INF MdeModulePkg/Logo/LogoDxe.inf
     
    303298INF  MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
    304299INF  MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
     300
     301!include OvmfPkg/Include/Fdf/ShellDxe.fdf.inc
    305302
    306303################################################################################
     
    418415  }
    419416
    420 [Rule.Common.USER_DEFINED.CSM]
    421   FILE FREEFORM = $(NAMED_GUID) {
    422     RAW BIN                |.bin
    423   }
    424 
    425417[Rule.Common.SEC.RESET_VECTOR]
    426418  FILE RAW = $(NAMED_GUID) {
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