Changeset 81604 in vbox
- Timestamp:
- Oct 31, 2019 9:42:09 AM (5 years ago)
- 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 859 859 VBoxPkg/VBoxSysTables/VBoxSysTables.inf 860 860 VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf 861 VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf861 # VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf -- 64-bit only! 862 862 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf 863 863 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf -
trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32.fdf
r81596 r81604 279 279 INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf 280 280 INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf 281 INF VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf 281 # INF VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf -- 64-bit only! 282 282 INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf 283 283 !endif -
trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.c
r81601 r81604 128 128 { 129 129 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); 131 131 132 132 rc = vboxApfsJmpStartRead(pCtx, RT_LE2H_U64(pRange->PAddrStart), pbBuf, cbRead);
Note:
See TracChangeset
for help on using the changeset viewer.