VirtualBox

Ignore:
Timestamp:
Jan 3, 2016 2:42:27 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104871
Message:

Several fixes to get RuntimeR3 building on SPARC again (required for vbox-img used by the OVM folks):

  1. Generic implementation for RTSystemIsInsideVM returning always false
  2. Add non assembly version for the zero memory objects g_abRTZero* for use on non x86/amd64 architectures where we don't have yasm (The code is not compiled on x86/amd64 because of better optimized assembler variants available)
  3. Compile fix for bignum.cpp on sparc64 (no idea whether it is correct)
  4. Remove superfluous ASMByteSwapU64 in asm-fake.cpp (generic variant defined in include/iprt/asm.h)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/math/bignum.cpp

    r57944 r59243  
    264264    /** @todo optimize this. */
    265265    RTUInt128DivRem(puQuotient, &uRemainder2x, &uDividend, &uDivisor2x);
    266     puRemainder->u = uRemainder2x.s.Lo;
     266    *puRemainder = uRemainder2x.s.Lo;
    267267# else
    268268    puQuotient->u  = uDividend.u / uDivisor;
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