VirtualBox

Ignore:
Timestamp:
Feb 19, 2015 7:43:51 PM (10 years ago)
Author:
vboxsync
Message:

VMM,SUP: Apply the tsc delta where it matters. Made sense out of the paravirt-tsc-mode enable/disable code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/VMMRC.cpp

    r49893 r54308  
    136136        case VMMGC_DO_TESTCASE_INTERRUPT_MASKING:
    137137        {
    138             uint64_t u64MaxTicks = (SUPGetCpuHzFromGIP(g_pSUPGlobalInfoPage) != ~(uint64_t)0
    139                                     ? SUPGetCpuHzFromGIP(g_pSUPGlobalInfoPage)
     138            uint64_t u64MaxTicks = (SUPGetCpuHzFromGip(g_pSUPGlobalInfoPage) != ~(uint64_t)0
     139                                    ? SUPGetCpuHzFromGip(g_pSUPGlobalInfoPage)
    140140                                    : _2G)
    141141                                   / 10000;
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