VirtualBox

Changeset 9184 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 28, 2008 1:50:47 AM (17 years ago)
Author:
vboxsync
Message:

If CF=0 HLT should never resume.

File:
1 edited

Legend:

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

    r9125 r9184  
    16621662    case SVM_EXIT_HLT:
    16631663        /** Check if external interrupts are pending; if so, don't switch back. */
    1664         if (VM_FF_ISPENDING(pVM, (VM_FF_INTERRUPT_APIC|VM_FF_INTERRUPT_PIC)))
     1664        if (    pCtx->eflags.Bits.u1IF
     1665            &&  VM_FF_ISPENDING(pVM, (VM_FF_INTERRUPT_APIC|VM_FF_INTERRUPT_PIC)))
    16651666        {
    16661667            pCtx->eip++;    /* skip hlt */
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