VirtualBox

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


Ignore:
Timestamp:
Mar 1, 2007 12:53:39 PM (18 years ago)
Author:
vboxsync
Message:

Corrected failure path

File:
1 edited

Legend:

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

    r1125 r1129  
    596596                pVM->patm.s.CTXSUFF(pGCState)->Restore.uFlags = 0;
    597597
    598                 /* We are no longer executing PATM code; set PIF again. */
    599                 pVM->patm.s.CTXSUFF(pGCState)->fPIF = 1;
    600598                rc = EMInterpretIret(pVM, pRegFrame);
    601599                if (VBOX_SUCCESS(rc))
     600                {
    602601                    STAM_COUNTER_INC(&pVM->patm.s.StatEmulIret);
     602
     603                    /* We are no longer executing PATM code; set PIF again. */
     604                    pVM->patm.s.CTXSUFF(pGCState)->fPIF = 1;
     605                }
    603606                else
    604607                    STAM_COUNTER_INC(&pVM->patm.s.StatEmulIretFailed);
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