VirtualBox

Changeset 81604 in vbox


Ignore:
Timestamp:
Oct 31, 2019 9:42:09 AM (5 years ago)
Author:
vboxsync
Message:

EFI: Disabled APFS jumpstart for 32-bit as there's no use for it and it didn't build.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32.dsc

    r81596 r81604  
    859859 VBoxPkg/VBoxSysTables/VBoxSysTables.inf
    860860 VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
    861  VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf
     861 # VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf -- 64-bit only!
    862862 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
    863863 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
  • trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32.fdf

    r81596 r81604  
    279279INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
    280280INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
    281 INF VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf
     281# INF VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf -- 64-bit only!
    282282INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
    283283!endif
  • trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.c

    r81601 r81604  
    128128        {
    129129            PCAPFSPRANGE pRange = &pCtx->JmpStart.aExtents[i];
    130             UINTN cbRead = RT_MIN(cbReadLeft, RT_LE2H_U64(pRange->cBlocks) * pCtx->cbBlock);
     130            UINTN cbRead = RT_MIN(cbReadLeft, (UINTN)RT_LE2H_U64(pRange->cBlocks) * pCtx->cbBlock);
    131131
    132132            rc = vboxApfsJmpStartRead(pCtx, RT_LE2H_U64(pRange->PAddrStart), pbBuf, cbRead);
Note: See TracChangeset for help on using the changeset viewer.

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