VirtualBox

Changeset 60740 in vbox for trunk/src/VBox/VMM/VMMRC


Ignore:
Timestamp:
Apr 28, 2016 12:51:47 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106930
Message:

VMM, recompiler: Fix APIC to update pending interrupts to IRR when the force-flag is set, rather
than in PDMGetInterrupt() which gets called only with EFLAGS.IF set in certain places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp

    r60716 r60740  
    2828#include <VBox/vmm/em.h>
    2929#include <VBox/vmm/gim.h>
     30#ifdef VBOX_WITH_NEW_APIC
     31# include <VBox/vmm/apic.h>
     32#endif
    3033#include <VBox/vmm/csam.h>
    3134#include <VBox/vmm/patm.h>
     
    255258           )
    256259        {
     260#ifdef VBOX_WITH_NEW_APIC
     261            /* The EFLAGS are checked in TRPMForwardTrap() below. */
     262            if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC))
     263                APICUpdatePendingInterrupts(pVCpu);
     264#endif
    257265            uint8_t u8Interrupt;
    258266            rc = PDMGetInterrupt(pVCpu, &u8Interrupt);
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