VirtualBox

Changeset 9188 in vbox for trunk/src


Ignore:
Timestamp:
May 28, 2008 7:44:21 AM (17 years ago)
Author:
vboxsync
Message:

Same IF fix for halt instructions in VT-x.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

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

    r9184 r9188  
    450450        TRPMEVENT   enmType;
    451451        SVM_EVENT   Event;
    452         uint32_t    u32ErrorCode;
     452        RTGCUINT    u32ErrorCode;
    453453
    454454        Event.au64[0] = 0;
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r9151 r9188  
    512512        int         rc;
    513513        TRPMEVENT   enmType;
    514         RTGCUINTPTR intInfo, errCode;
     514        RTGCUINTPTR intInfo;
     515        RTGCUINT    errCode;
    515516
    516517        /* If a new event is pending, then dispatch it now. */
     
    19211922    case VMX_EXIT_HLT:                  /* 12 Guest software attempted to execute HLT. */
    19221923        /** Check if external interrupts are pending; if so, don't switch back. */
    1923         if (VM_FF_ISPENDING(pVM, (VM_FF_INTERRUPT_APIC|VM_FF_INTERRUPT_PIC)))
     1924        if (    pCtx->eflags.Bits.u1IF
     1925            &&  VM_FF_ISPENDING(pVM, (VM_FF_INTERRUPT_APIC|VM_FF_INTERRUPT_PIC)))
    19241926        {
    19251927            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