VirtualBox

Changeset 15931 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 14, 2009 9:40:44 AM (16 years ago)
Author:
vboxsync
Message:

gcc found one of these bugs

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r15866 r15931  
    577577    STAMCOUNTER             StatExitCpuid;
    578578    STAMCOUNTER             StatExitRdtsc;
    579     STAMCOUNTER             StatExitCRxWrite[8];
    580     STAMCOUNTER             StatExitCRxRead[8];
     579    STAMCOUNTER             StatExitCRxWrite[16];
     580    STAMCOUNTER             StatExitCRxRead[16];
    581581    STAMCOUNTER             StatExitDRxWrite;
    582582    STAMCOUNTER             StatExitDRxRead;
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r15741 r15931  
    17351735
    17361736        Log2(("SVM: %RGv mov x, cr%d\n", (RTGCPTR)pCtx->rip, exitCode - SVM_EXIT_READ_CR0));
    1737         STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitCRxRead[exitCode - SVM_EXIT_WRITE_CR0]);
     1737        STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitCRxRead[exitCode - SVM_EXIT_READ_CR0]);
    17381738        rc = EMInterpretInstruction(pVM, CPUMCTX2CORE(pCtx), 0, &cbSize);
    17391739        if (rc == VINF_SUCCESS)
     
    17571757
    17581758        Log2(("SVM: %RGv mov dr%d, x\n", (RTGCPTR)pCtx->rip, exitCode - SVM_EXIT_WRITE_DR0));
    1759         STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitDRxRead);
     1759        STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitDRxWrite);
    17601760
    17611761        if (!DBGFIsStepping(pVM))
     
    17961796        uint32_t cbSize;
    17971797
    1798         Log2(("SVM: %RGv mov dr%d, x\n", (RTGCPTR)pCtx->rip, exitCode - SVM_EXIT_READ_DR0));
     1798        Log2(("SVM: %RGv mov x, dr%d\n", (RTGCPTR)pCtx->rip, exitCode - SVM_EXIT_READ_DR0));
    17991799        STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitDRxRead);
    18001800
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