VirtualBox

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


Ignore:
Timestamp:
Jan 24, 2007 1:32:56 PM (18 years ago)
Author:
vboxsync
Message:

PATM_ACTION_PENDING_IRQ_AFTER_IRET added

File:
1 edited

Legend:

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

    r180 r268  
    564564                /* The caller will call trpmGCExitTrap, which will dispatch pending interrupts for us. */
    565565                return VINF_SUCCESS;
     566
     567            case PATM_ACTION_PENDING_IRQ_AFTER_IRET:
     568                Assert(pVM->patm.s.CTXSUFF(pGCState)->Restore.uFlags == (PATM_RESTORE_EAX|PATM_RESTORE_ECX));
     569                Assert(pVM->patm.s.CTXSUFF(pGCState)->fPIF == 0);
     570
     571                pRegFrame->eax = pVM->patm.s.CTXSUFF(pGCState)->Restore.uEAX;
     572                pRegFrame->ecx = pVM->patm.s.CTXSUFF(pGCState)->Restore.uECX;
     573                pVM->patm.s.CTXSUFF(pGCState)->Restore.uFlags = 0;
     574                return VINF_PATM_PENDING_IRQ_AFTER_IRET;
     575
    566576#ifdef DEBUG
    567577            case PATM_ACTION_LOG_CLI:
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