Changeset 57851 in vbox
- Timestamp:
- Sep 22, 2015 1:10:34 PM (9 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/GIMAllHv.cpp
r57513 r57851 44 44 VMM_INT_DECL(int) gimHvHypercall(PVMCPU pVCpu, PCPUMCTX pCtx) 45 45 { 46 NOREF(pCtx); 46 47 PVM pVM = pVCpu->CTX_SUFF(pVM); 47 48 if (!MSR_GIM_HV_HYPERCALL_IS_ENABLED(pVM->gim.s.u.Hv.u64HypercallMsr)) … … 79 80 80 81 82 #ifdef IN_RING3 81 83 /** 82 84 * Gets the descriptive OS ID variant as identified via the … … 106 108 return "Unknown"; 107 109 } 110 #endif 108 111 109 112 -
trunk/src/VBox/VMM/VMMAll/GIMAllKvm.cpp
r57560 r57851 135 135 VMM_INT_DECL(bool) gimKvmAreHypercallsEnabled(PVMCPU pVCpu) 136 136 { 137 NOREF(pVCpu); 137 138 /* KVM paravirt interface doesn't have hypercall control bits (like Hyper-V does) 138 139 that guests can control, i.e. hypercalls are always enabled. */ -
trunk/src/VBox/VMM/VMMAll/PDMAllCritSectRw.cpp
r57358 r57851 156 156 AssertPtr(pThis); 157 157 AssertReturn(pThis->s.Core.u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED); 158 159 #if !defined(PDMCRITSECTRW_STRICT) || !defined(IN_RING3) 160 NOREF(pSrcPos); 161 NOREF(fNoVal); 162 #endif 158 163 159 164 #if defined(PDMCRITSECTRW_STRICT) && defined(IN_RING3) … … 564 569 AssertReturn(pThis->s.Core.u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED); 565 570 571 #if !defined(PDMCRITSECTRW_STRICT) || !defined(IN_RING3) 572 NOREF(fNoVal); 573 #endif 574 566 575 /* 567 576 * Check the direction and take action accordingly. … … 709 718 AssertPtr(pThis); 710 719 AssertReturn(pThis->s.Core.u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED); 720 721 #if !defined(PDMCRITSECTRW_STRICT) || !defined(IN_RING3) 722 NOREF(pSrcPos); 723 NOREF(fNoVal); 724 #endif 711 725 712 726 #if defined(PDMCRITSECTRW_STRICT) && defined(IN_RING3) … … 1100 1114 AssertReturn(pThis->s.Core.u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED); 1101 1115 1116 #if !defined(PDMCRITSECTRW_STRICT) || !defined(IN_RING3) 1117 NOREF(fNoVal); 1118 #endif 1119 1102 1120 RTNATIVETHREAD hNativeSelf = pdmCritSectRwGetNativeSelf(pThis); 1103 1121 RTNATIVETHREAD hNativeWriter; -
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r57358 r57851 87 87 DECLINLINE(uint32_t) pgmHandlerPhysicalTypeRetain(PVM pVM, PPGMPHYSHANDLERTYPEINT pType) 88 88 { 89 NOREF(pVM); 89 90 AssertMsgReturn(pType->u32Magic == PGMPHYSHANDLERTYPEINT_MAGIC, ("%#x\n", pType->u32Magic), UINT32_MAX); 90 91 uint32_t cRefs = ASMAtomicIncU32(&pType->cRefs); … … 1400 1401 DECLINLINE(uint32_t) pgmHandlerVirtualTypeRetain(PVM pVM, PPGMVIRTHANDLERTYPEINT pType) 1401 1402 { 1403 NOREF(pVM); 1402 1404 AssertMsgReturn(pType->u32Magic == PGMVIRTHANDLERTYPEINT_MAGIC, ("%#x\n", pType->u32Magic), UINT32_MAX); 1403 1405 uint32_t cRefs = ASMAtomicIncU32(&pType->cRefs); -
trunk/src/VBox/VMM/VMMAll/SELMAll.cpp
r57446 r57851 814 814 RTGCPTR Addr, PRTGCPTR ppvFlat) 815 815 { 816 NOREF(SelCPL); NOREF(SelCS); 817 816 818 /* 817 819 * Check if present. -
trunk/src/VBox/VMM/VMMAll/VMMAll.cpp
r57358 r57851 410 410 AssertReturn(pcbWritten, VERR_INVALID_POINTER); 411 411 412 NOREF(pVM); 413 412 414 if (ASMIsAmdCpu()) 413 415 { -
trunk/src/VBox/VMM/VMMR0/GIMR0Hv.cpp
r57358 r57851 137 137 Assert(pRefTsc->u32TscSequence != 0); 138 138 Assert(pRefTsc->u32TscSequence != UINT32_C(0xffffffff)); 139 #else 140 NOREF(u64Offset); 139 141 #endif 140 142 return VINF_SUCCESS; -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r57565 r57851 1653 1653 { 1654 1654 int rc = VINF_SUCCESS; 1655 NOREF(pCtx); 1655 1656 if (HMCPU_CF_IS_PENDING(pVCpu, HM_CHANGED_GUEST_XCPT_INTERCEPTS)) 1656 1657 {
Note:
See TracChangeset
for help on using the changeset viewer.