VirtualBox

Changeset 10508 in vbox


Ignore:
Timestamp:
Jul 11, 2008 9:58:05 AM (16 years ago)
Author:
vboxsync
Message:

Stupid compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r10506 r10508  
    873873
    874874#ifdef LOG_ENABLED
    875     PHWACCM_CPUINFO pCpuTemp = HWACCMR0GetCurrentCpu();
    876     if (    pVM->hwaccm.s.svm.idLastCpu != pCpuTemp->idCpu
    877         ||  pVM->hwaccm.s.svm.cTLBFlushes != pCpuTemp->cTLBFlushes)
    878     {
    879         if (pVM->hwaccm.s.svm.idLastCpu != pCpuTemp->idCpu)
    880             Log(("Force TLB flush due to rescheduling to a different cpu (%d vs %d)\n", pVM->hwaccm.s.svm.idLastCpu, pCpuTemp->idCpu));
    881         else
    882             Log(("Force TLB flush due to changed TLB flush count (%x vs %x)\n", pVM->hwaccm.s.svm.cTLBFlushes, pCpuTemp->cTLBFlushes));
    883     }
    884     if (pCpuTemp->fFlushTLB)
    885         Log(("Force TLB flush: first time cpu %d is used -> flush\n", pCpuTemp->idCpu));
     875    {
     876        PHWACCM_CPUINFO pCpuTemp = HWACCMR0GetCurrentCpu();
     877        if (    pVM->hwaccm.s.svm.idLastCpu != pCpuTemp->idCpu
     878            ||  pVM->hwaccm.s.svm.cTLBFlushes != pCpuTemp->cTLBFlushes)
     879        {
     880            if (pVM->hwaccm.s.svm.idLastCpu != pCpuTemp->idCpu)
     881                Log(("Force TLB flush due to rescheduling to a different cpu (%d vs %d)\n", pVM->hwaccm.s.svm.idLastCpu, pCpuTemp->idCpu));
     882            else
     883                Log(("Force TLB flush due to changed TLB flush count (%x vs %x)\n", pVM->hwaccm.s.svm.cTLBFlushes, pCpuTemp->cTLBFlushes));
     884        }
     885        if (pCpuTemp->fFlushTLB)
     886            Log(("Force TLB flush: first time cpu %d is used -> flush\n", pCpuTemp->idCpu));
     887    }
    886888#endif
    887889
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