Changeset 60740 in vbox
- Timestamp:
- Apr 28, 2016 12:51:47 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106930
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r60720 r60740 2315 2315 && pXApicPage->svr.u.fApicSoftwareEnable) 2316 2316 { 2317 APICUpdatePendingInterrupts(pVCpu);2318 2317 int const irrv = apicGetLastSetBit(&pXApicPage->irr, -1); 2319 2318 if (RT_LIKELY(irrv >= 0)) -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r60732 r60740 30 30 #include <VBox/vmm/tm.h> 31 31 #include <VBox/vmm/gim.h> 32 #ifdef VBOX_WITH_NEW_APIC 33 # include <VBox/vmm/apic.h> 34 #endif 32 35 #include "HMInternal.h" 33 36 #include <VBox/vmm/vm.h> … … 2660 2663 else if (VMCPU_FF_IS_PENDING(pVCpu, (VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC))) 2661 2664 { 2665 2666 #ifdef VBOX_WITH_NEW_APIC 2667 if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC)) 2668 APICUpdatePendingInterrupts(pVCpu); 2669 #endif 2662 2670 /* 2663 2671 * Check if the guest can receive external interrupts (PIC/APIC). Once we do PDMGetInterrupt() we -must- deliver -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r60732 r60740 34 34 #ifdef VBOX_WITH_REM 35 35 # include <VBox/vmm/rem.h> 36 #endif 37 #ifdef VBOX_WITH_NEW_APIC 38 # include <VBox/vmm/apic.h> 36 39 #endif 37 40 #include "HMInternal.h" … … 7437 7440 && !pVCpu->hm.s.fSingleInstruction) 7438 7441 { 7442 #ifdef VBOX_WITH_NEW_APIC 7443 if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC)) 7444 APICUpdatePendingInterrupts(pVCpu); 7445 #endif 7439 7446 Assert(!DBGFIsStepping(pVCpu)); 7440 7447 int rc = hmR0VmxSaveGuestRflags(pVCpu, pMixedCtx); -
trunk/src/VBox/VMM/VMMR3/EM.cpp
r60683 r60740 49 49 #ifdef VBOX_WITH_REM 50 50 # include <VBox/vmm/rem.h> 51 #endif 52 #ifdef VBOX_WITH_NEW_APIC 53 # include <VBox/vmm/apic.h> 51 54 #endif 52 55 #include <VBox/vmm/tm.h> … … 1934 1937 if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC)) 1935 1938 { 1939 #ifdef VBOX_WITH_NEW_APIC 1940 if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC)) 1941 APICUpdatePendingInterrupts(pVCpu); 1942 #endif 1936 1943 /* Note: it's important to make sure the return code from TRPMR3InjectEvent isn't ignored! */ 1937 1944 /** @todo this really isn't nice, should properly handle this */ -
trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp
r60716 r60740 28 28 #include <VBox/vmm/em.h> 29 29 #include <VBox/vmm/gim.h> 30 #ifdef VBOX_WITH_NEW_APIC 31 # include <VBox/vmm/apic.h> 32 #endif 30 33 #include <VBox/vmm/csam.h> 31 34 #include <VBox/vmm/patm.h> … … 255 258 ) 256 259 { 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 257 265 uint8_t u8Interrupt; 258 266 rc = PDMGetInterrupt(pVCpu, &u8Interrupt); -
trunk/src/recompiler/Makefile.kmk
r56301 r60740 70 70 ifdef IEM_VERIFICATION_MODE 71 71 VBoxRemPrimary_DEFS += IEM_VERIFICATION_MODE 72 endif 73 ifdef VBOX_WITH_NEW_APIC 74 VBoxRemPrimary_DEFS += VBOX_WITH_NEW_APIC 72 75 endif 73 76 ifdef VBOX_WITH_RAW_MODE -
trunk/src/recompiler/VBoxRecompiler.c
r58536 r60740 50 50 #include <VBox/vmm/dbgf.h> 51 51 #include <VBox/dbg.h> 52 #ifdef VBOX_WITH_NEW_APIC 53 # include <VBox/vmm/apic.h> 54 #endif 52 55 #include <VBox/vmm/hm.h> 53 56 #include <VBox/vmm/patm.h> … … 2517 2520 if ( pVM->rem.s.u32PendingInterrupt != REM_NO_PENDING_IRQ 2518 2521 || VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC)) 2522 { 2523 #ifdef VBOX_WITH_NEW_APIC 2524 if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC)) 2525 APICUpdatePendingInterrupts(pVCpu); 2526 #endif 2519 2527 pVM->rem.s.Env.interrupt_request |= CPU_INTERRUPT_HARD; 2528 } 2520 2529 2521 2530 /*
Note:
See TracChangeset
for help on using the changeset viewer.