VirtualBox

Changeset 99993 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
May 26, 2023 10:06:46 PM (22 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157655
Message:

VMM/IEM: Corrected instruction counting in IEMExecLots, it executed one too many. bugref:10464

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAll.cpp

    r99988 r99993  
    1048510485    uint32_t const cInstructionsAtStart = pVCpu->iem.s.cInstructions;
    1048610486    AssertMsg(RT_IS_POWER_OF_TWO(cPollRate + 1), ("%#x\n", cPollRate));
     10487    Assert(cMaxInstructions > 0);
    1048710488
    1048810489    /*
     
    1061210613                                      && !VM_FF_IS_ANY_SET(pVM, VM_FF_ALL_MASK) ))
    1061310614                        {
    10614                             if (cMaxInstructionsGccStupidity-- > 0)
     10615                            if (--cMaxInstructionsGccStupidity > 0)
    1061510616                            {
    1061610617                                /* Poll timers every now an then according to the caller's specs. */
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