Changeset 46420 in vbox for trunk/src/recompiler
- Timestamp:
- Jun 6, 2013 4:27:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r46160 r46420 1149 1149 pVM->rem.s.Env.interrupt_request = CPU_INTERRUPT_SINGLE_INSTR; 1150 1150 #endif 1151 if ( VMCPU_FF_IS PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC)1151 if ( VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC) 1152 1152 || pVM->rem.s.u32PendingInterrupt != REM_NO_PENDING_IRQ) 1153 1153 pVM->rem.s.Env.interrupt_request |= CPU_INTERRUPT_HARD; … … 1175 1175 */ 1176 1176 case EXCP_SINGLE_INSTR: 1177 if ( !VM_FF_IS PENDING(pVM, VM_FF_ALL_REM_MASK)1178 && !VMCPU_FF_IS PENDING(pVCpu, VMCPU_FF_ALL_REM_MASK))1177 if ( !VM_FF_IS_PENDING(pVM, VM_FF_ALL_REM_MASK) 1178 && !VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_ALL_REM_MASK)) 1179 1179 continue; 1180 1180 RTLogPrintf("remR3RunLoggingStep: rc=VINF_SUCCESS w/ FFs (%#x/%#x)\n", … … 1208 1208 if (rc == VINF_EM_DBG_STEPPED) 1209 1209 { 1210 if ( !VM_FF_IS PENDING(pVM, VM_FF_ALL_REM_MASK)1211 && !VMCPU_FF_IS PENDING(pVCpu, VMCPU_FF_ALL_REM_MASK))1210 if ( !VM_FF_IS_PENDING(pVM, VM_FF_ALL_REM_MASK) 1211 && !VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_ALL_REM_MASK)) 1212 1212 continue; 1213 1213 … … 2273 2273 /* Update the inhibit IRQ mask. */ 2274 2274 pVM->rem.s.Env.hflags &= ~HF_INHIBIT_IRQ_MASK; 2275 if (VMCPU_FF_IS SET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS))2275 if (VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS)) 2276 2276 { 2277 2277 RTGCPTR InhibitPC = EMGetInhibitInterruptsPC(pVCpu); … … 2536 2536 pVM->rem.s.Env.interrupt_request &= ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB | CPU_INTERRUPT_TIMER); 2537 2537 if ( pVM->rem.s.u32PendingInterrupt != REM_NO_PENDING_IRQ 2538 || VMCPU_FF_IS PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC))2538 || VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC)) 2539 2539 pVM->rem.s.Env.interrupt_request |= CPU_INTERRUPT_HARD; 2540 2540 … … 2763 2763 VMCPU_FF_SET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS); 2764 2764 } 2765 else if (VMCPU_FF_IS SET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS))2765 else if (VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS)) 2766 2766 { 2767 2767 Log(("Clearing VMCPU_FF_INHIBIT_INTERRUPTS at %RGv - successor %RGv (REM#2)\n", (RTGCPTR)pCtx->rip, EMGetInhibitInterruptsPC(pVCpu))); … … 3062 3062 3063 3063 /** @todo this isn't ensuring correct replay order. */ 3064 if (VM_FF_TEST ANDCLEAR(pVM, VM_FF_REM_HANDLER_NOTIFY))3064 if (VM_FF_TEST_AND_CLEAR(pVM, VM_FF_REM_HANDLER_NOTIFY)) 3065 3065 { 3066 3066 uint32_t idxNext; … … 4518 4518 if (RT_SUCCESS(rc)) 4519 4519 { 4520 if (VMCPU_FF_IS PENDING(env->pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC))4520 if (VMCPU_FF_IS_PENDING(env->pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC)) 4521 4521 env->interrupt_request |= CPU_INTERRUPT_HARD; 4522 4522 return u8Interrupt;
Note:
See TracChangeset
for help on using the changeset viewer.