VirtualBox

Changeset 51658 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jun 19, 2014 3:25:54 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
94424
Message:

VMM/GIM: Bits, try to find out why it breaks on mac2-rel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/GIMHv.cpp

    r51647 r51658  
    474474        uint64_t const u64TscKHz = TMCpuTicksPerSecond(pVM) / UINT64_C(1000);
    475475        pRefTsc->u32TscSequence  = 1;
    476         pRefTsc->u64TscScale     = (((uint64_t)(10000) << 32) / u64TscKHz) << 32;
     476        pRefTsc->u64TscScale     = UINT64_C(10000) << 32;
     477        pRefTsc->u64TscScale    /= (u64TscKHz << 32);
    477478
    478479        LogRel(("GIM: HyperV: Enabled TSC page at %#RGp (u64TscScale=%#RX64 u64TscKHz=%#RX64)\n", GCPhysTscPage,
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