VirtualBox

Changeset 72607 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jun 18, 2018 8:48:08 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123104
Message:

IEMExecForExits: Try checking in with RTThreadPreemptIsPending. bugref:9198

File:
1 edited

Legend:

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

    r72592 r72607  
    1425714257                                if (cInstructionSinceLastExit <= cMaxInstructionsWithoutExits)
    1425814258                                {
    14259                                     Assert(pVCpu->iem.s.cActiveMappings == 0);
    14260                                     iemReInitDecoder(pVCpu);
    14261                                     continue;
     14259#ifdef IN_RING0
     14260                                    if (!RTThreadPreemptIsPending(NIL_RTTHREAD))
     14261#endif
     14262                                    {
     14263                                        Assert(pVCpu->iem.s.cActiveMappings == 0);
     14264                                        iemReInitDecoder(pVCpu);
     14265                                        continue;
     14266                                    }
     14267#ifdef IN_RING0
     14268                                    rcStrict = VINF_EM_RAW_INTERRUPT;
     14269                                    break;
     14270#endif
    1426214271                                }
    1426314272                            }
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