VirtualBox

Changeset 72556 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 14, 2018 9:31:41 PM (7 years ago)
Author:
vboxsync
Message:

EM,NEM,HM: Started on generic exit history, only hooked up to NEM/win. bugref:9044 [comments]

File:
1 edited

Legend:

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

    r72555 r72556  
    254254                idx -= 1;
    255255            PCEMEXITENTRY const pEntry = &pVCpu->em.s.aExitHistory[(uintptr_t)idx & 0xff];
    256             if (!fReverse)
    257                 idx += 1;
    258256
    259257            /* Get the exit name. */
     
    261259            const char *pszExitName = emR3HistoryGetExitName(pEntry->uFlagsAndType, szExitName, sizeof(szExitName));
    262260
     261            /* Calc delta (negative if reverse order, positive ascending). */
    263262            int64_t offDelta = uPrevTimestamp != 0 && pEntry->uTimestamp != 0 ? pEntry->uTimestamp - uPrevTimestamp : 0;
    264263            uPrevTimestamp = pEntry->uTimestamp;
    265264
     265            /* Do the printing. */
    266266            if (pEntry->idxSlot == UINT32_MAX)
    267267                pHlp->pfnPrintf(pHlp, " %10RU64: %#018RX64/%+-9RI64 %016RX64 %#06x %s\n",
     
    274274                                pEntry->idxSlot);
    275275            }
     276
     277            /* Advance if ascending. */
     278            if (!fReverse)
     279                idx += 1;
    276280        } while (--cLeft > 0 && idx > 0);
    277281    }
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