VirtualBox

Changeset 81715 in vbox


Ignore:
Timestamp:
Nov 6, 2019 4:17:11 PM (5 years ago)
Author:
vboxsync
Message:

EFI/Firmware/Apple.c: Use DivU64x32() instead of / to avoid unresolved symbol errors when compiling with optimizations turned of for x86

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Disk/PartitionDxe/Apple.c

    r80934 r81715  
    191191              Print(L"HFS partition (%d of %d) at LBA 0x%x size=%dM\n",
    192192                    Partition, PartitionEntries, StartLba,
    193                     (UINT32)(MultU64x32(SizeLbs, SubBlockSize) / (1024 * 1024)));
     193                    (UINT32)(DivU64x32(MultU64x32(SizeLbs, SubBlockSize), (1024 * 1024))));
    194194
    195195          ZeroMem (&CdDev, sizeof (CdDev));
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