Changeset 49513 in vbox for trunk/src/VBox
- Timestamp:
- Nov 15, 2013 4:49:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r49512 r49513 1653 1653 Assert(pVM->hm.s.svm.fSupported); 1654 1654 Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); 1655 NOREF(p Cpu);1655 NOREF(pVM); NOREF(pCpu); 1656 1656 1657 1657 LogFlowFunc(("pVM=%p pVCpu=%p\n", pVM, pVCpu)); … … 2255 2255 DECLINLINE(void) hmR0SvmInjectEventVmcb(PVMCPU pVCpu, PSVMVMCB pVmcb, PCPUMCTX pCtx, PSVMEVENT pEvent) 2256 2256 { 2257 NOREF(p Ctx);2257 NOREF(pVCpu); NOREF(pCtx); 2258 2258 2259 2259 pVmcb->ctrl.EventInject.u = pEvent->u; … … 2566 2566 /* Update the guest interrupt shadow in the VMCB. */ 2567 2567 pVmcb->ctrl.u64IntShadow = !!fIntShadow; 2568 NOREF(fBlockInt); 2568 2569 } 2569 2570 … … 2581 2582 static void hmR0SvmReportWorldSwitchError(PVM pVM, PVMCPU pVCpu, int rcVMRun, PCPUMCTX pCtx) 2582 2583 { 2584 NOREF(pCtx); 2583 2585 HMSVM_ASSERT_PREEMPT_SAFE(); 2584 2586 PSVMVMCB pVmcb = (PSVMVMCB)pVCpu->hm.s.svm.pvVmcb; … … 2586 2588 if (rcVMRun == VERR_SVM_INVALID_GUEST_STATE) 2587 2589 { 2588 HMDumpRegs(pVM, pVCpu, pCtx); 2590 HMDumpRegs(pVM, pVCpu, pCtx); NOREF(pVM); 2589 2591 #ifdef VBOX_STRICT 2590 2592 Log4(("ctrl.u64VmcbCleanBits %#RX64\n", pVmcb->ctrl.u64VmcbCleanBits)); … … 2702 2704 Log4(("guest.u64LASTEXCPFROM %#RX64\n", pVmcb->guest.u64LASTEXCPFROM)); 2703 2705 Log4(("guest.u64LASTEXCPTO %#RX64\n", pVmcb->guest.u64LASTEXCPTO)); 2704 #endif 2706 #else 2707 NOREF(pVmcb); 2708 #endif /* VBOX_STRICT */ 2705 2709 } 2706 2710 else … … 3551 3555 } while (0) 3552 3556 #else /* Release builds */ 3553 # define HMSVM_VALIDATE_EXIT_HANDLER_PARAMS() do { } while (0)3557 # define HMSVM_VALIDATE_EXIT_HANDLER_PARAMS() do { NOREF(pVCpu); NOREF(pCtx); NOREF(pSvmTransient); } while (0) 3554 3558 #endif 3555 3559 … … 3956 3960 } 3957 3961 Assert(rc == VINF_SUCCESS || rc == VINF_HM_DOUBLE_FAULT || rc == VINF_EM_RESET); 3962 NOREF(pCtx); 3958 3963 return rc; 3959 3964 }
Note:
See TracChangeset
for help on using the changeset viewer.