VirtualBox

Ignore:
Timestamp:
Apr 1, 2007 7:08:04 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20050
Message:

Corrected the heuristics for detecing async GIP mode, fixed GIP layout bug and initialize u32Version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp

    r1841 r1850  
    4848        if (g_pSUPGlobalInfoPage)
    4949        {
    50             RTPrintf("tstGIP-2: u32UpdateHz=%RU32  u32UpdateIntervalNS=%RU32  u64NanoTSLastUpdateHz=%RX64\n"
     50            RTPrintf("tstGIP-2: u32UpdateHz=%RU32  u32UpdateIntervalNS=%RU32  u64NanoTSLastUpdateHz=%RX64  u32Mode=%d (%s) u32Version=%#x\n"
    5151                     "tstGIP-2: it: u64NanoTS        u64TSC           UpIntTSC H TransId            CpuHz TSC Interval History...\n",
    5252                     g_pSUPGlobalInfoPage->u32UpdateHz,
    5353                     g_pSUPGlobalInfoPage->u32UpdateIntervalNS,
    54                      g_pSUPGlobalInfoPage->u64NanoTSLastUpdateHz);
     54                     g_pSUPGlobalInfoPage->u64NanoTSLastUpdateHz,
     55                     g_pSUPGlobalInfoPage->u32Mode,
     56                     g_pSUPGlobalInfoPage->u32Mode == SUPGIPMODE_SYNC_TSC       ? "sync"
     57                     : g_pSUPGlobalInfoPage->u32Mode == SUPGIPMODE_ASYNC_TSC    ? "async"
     58                     :                                                            "???",
     59                     g_pSUPGlobalInfoPage->u32Version);
    5560            for (int i = 0; i < 80; i++)
    5661            {
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