儲存庫 vbox 的更動 62647
- 時間撮記:
- 2016-7-28 下午10:02:27 (8 年 以前)
- 位置:
- trunk/src/VBox/VMM/VMMR3
- 檔案:
-
- 修改 7 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMR3/CSAM.cpp
r62478 r62647 2271 2271 Log(("CSAMR3UnmonitorPage %RRv %d\n", pPageAddrGC, enmTag)); 2272 2272 2273 Assert(enmTag == CSAM_TAG_REM); 2273 Assert(enmTag == CSAM_TAG_REM); RT_NOREF_PV(enmTag); 2274 2274 2275 2275 #ifdef VBOX_STRICT … … 2346 2346 } 2347 2347 2348 #if 0 /* Unused */ 2348 2349 /** 2349 2350 * Callback for delayed writes from non-EMT threads … … 2358 2359 AssertRC(rc); 2359 2360 } 2361 #endif 2360 2362 2361 2363 /** … … 2372 2374 static DECLCALLBACK(int) csamR3CodePageInvalidate(PVM pVM, PVMCPU pVCpu, RTGCPTR GCPtr, void *pvUser) 2373 2375 { 2376 RT_NOREF2(pVCpu, pvUser); 2377 2374 2378 g_fInCsamR3CodePageInvalidate = true; 2375 2379 LogFlow(("csamR3CodePageInvalidate %RGv\n", GCPtr)); … … 2377 2381 csamFlushPage(pVM, GCPtr, false /* don't remove page! */); 2378 2382 g_fInCsamR3CodePageInvalidate = false; 2383 2379 2384 return VINF_SUCCESS; 2380 2385 } -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r62478 r62647 1775 1775 VMMR3_INT_DECL(void) HMR3PagingModeChanged(PVM pVM, PVMCPU pVCpu, PGMMODE enmShadowMode, PGMMODE enmGuestMode) 1776 1776 { 1777 RT_NOREF_PV(pVM); 1778 1777 1779 /* Ignore page mode changes during state loading. */ 1778 1780 if (VMR3GetState(pVCpu->pVMR3) == VMSTATE_LOADING) … … 2041 2043 { 2042 2044 Log(("HMR3DisablePatching %RGv size %x\n", pPatchMem, cbPatchMem)); 2045 RT_NOREF2(pPatchMem, cbPatchMem); 2043 2046 2044 2047 Assert(pVM->hm.s.pGuestPatchMem == pPatchMem); -
trunk/src/VBox/VMM/VMMR3/VM.cpp
r62478 r62647 2713 2713 int rc = PGMR3CheckIntegrity(pVM); 2714 2714 AssertReleaseRC(rc); 2715 #else 2716 RT_NOREF_PV(pVM); 2715 2717 #endif 2716 2718 } … … 3260 3262 static bool vmR3ValidateStateTransition(VMSTATE enmStateOld, VMSTATE enmStateNew) 3261 3263 { 3262 #ifdef VBOX_STRICT 3264 #ifndef VBOX_STRICT 3265 RT_NOREF2(enmStateOld, enmStateNew); 3266 #else 3263 3267 switch (enmStateOld) 3264 3268 { … … 3531 3535 RTCritSectEnter(&pUVM->vm.s.AtStateCritSect); 3532 3536 3537 RT_NOREF_PV(enmStateOld); 3533 3538 AssertMsg(pVM->enmVMState == enmStateOld, 3534 3539 ("%s != %s\n", VMR3GetStateName(pVM->enmVMState), VMR3GetStateName(enmStateOld))); -
trunk/src/VBox/VMM/VMMR3/VMEmt.cpp
r62478 r62647 68 68 * 69 69 * @returns Thread exit code. 70 * @param ThreadSelfThe handle to the executing thread.70 * @param hThreadSelf The handle to the executing thread. 71 71 * @param pUVCpu Pointer to the user mode per-VCpu structure. 72 72 * @param idCpu The virtual CPU ID, for backtrace purposes. 73 73 */ 74 int vmR3EmulationThreadWithId(RTTHREAD ThreadSelf, PUVMCPU pUVCpu, VMCPUID idCpu)74 int vmR3EmulationThreadWithId(RTTHREAD hThreadSelf, PUVMCPU pUVCpu, VMCPUID idCpu) 75 75 { 76 76 PUVM pUVM = pUVCpu->pUVM; 77 77 int rc; 78 RT_NOREF_PV(hThreadSelf); 78 79 79 80 AssertReleaseMsg(VALID_PTR(pUVM) && pUVM->u32Magic == UVM_MAGIC, -
trunk/src/VBox/VMM/VMMR3/VMM.cpp
r62478 r62647 446 446 static void vmmR3InitRegisterStats(PVM pVM) 447 447 { 448 RT_NOREF_PV(pVM); 449 448 450 /* 449 451 * Statistics. -
trunk/src/VBox/VMM/VMMR3/VMMTests.cpp
r62478 r62647 559 559 RTPrintf("VMM: profiling switcher...\n"); 560 560 Log(("VMM: profiling switcher...\n")); 561 uint64_t TickMin = ~0;561 uint64_t TickMin = UINT64_MAX; 562 562 tsBegin = RTTimeNanoTS(); 563 563 TickStart = ASMReadTSC(); … … 701 701 RTPrintf("VMM: profiling switcher...\n"); 702 702 Log(("VMM: profiling switcher...\n")); 703 uint64_t TickMin = ~0;703 uint64_t TickMin = UINT64_MAX; 704 704 uint64_t tsBegin = RTTimeNanoTS(); 705 705 uint64_t TickStart = ASMReadTSC(); -
trunk/src/VBox/VMM/VMMR3/VMReq.cpp
r62478 r62647 41 41 * Internal Functions * 42 42 *********************************************************************************************************************************/ 43 static int vmR3ReqProcessOne U(PUVM pUVM,PVMREQ pReq);43 static int vmR3ReqProcessOne(PVMREQ pReq); 44 44 45 45 … … 941 941 */ 942 942 pReq->enmState = VMREQSTATE_QUEUED; 943 rc = vmR3ReqProcessOne U(pUVM,pReq);943 rc = vmR3ReqProcessOne(pReq); 944 944 LogFlow(("VMR3ReqQueue: returns %Rrc (processed)\n", rc)); 945 945 } … … 1168 1168 */ 1169 1169 STAM_COUNTER_INC(&pUVM->vm.s.StatReqProcessed); 1170 int rc2 = vmR3ReqProcessOne U(pUVM,pReq);1170 int rc2 = vmR3ReqProcessOne(pReq); 1171 1171 if ( rc2 >= VINF_EM_FIRST 1172 1172 && rc2 <= VINF_EM_LAST) … … 1187 1187 * @returns VBox status code. 1188 1188 * 1189 * @param pUVM The user mode VM structure.1190 1189 * @param pReq Request packet to process. 1191 1190 */ 1192 static int vmR3ReqProcessOne U(PUVM pUVM,PVMREQ pReq)1193 { 1194 LogFlow(("vmR3ReqProcessOne U: pReq=%p type=%d fFlags=%#x\n", pReq, pReq->enmType, pReq->fFlags));1191 static int vmR3ReqProcessOne(PVMREQ pReq) 1192 { 1193 LogFlow(("vmR3ReqProcessOne: pReq=%p type=%d fFlags=%#x\n", pReq, pReq->enmType, pReq->fFlags)); 1195 1194 1196 1195 /* … … 1312 1311 { 1313 1312 /* Free the packet, nobody is waiting. */ 1314 LogFlow(("vmR3ReqProcessOne U: Completed request %p: rcReq=%Rrc rcRet=%Rrc - freeing it\n",1313 LogFlow(("vmR3ReqProcessOne: Completed request %p: rcReq=%Rrc rcRet=%Rrc - freeing it\n", 1315 1314 pReq, rcReq, rcRet)); 1316 1315 VMR3ReqFree(pReq); … … 1319 1318 { 1320 1319 /* Notify the waiter and him free up the packet. */ 1321 LogFlow(("vmR3ReqProcessOne U: Completed request %p: rcReq=%Rrc rcRet=%Rrc - notifying waiting thread\n",1320 LogFlow(("vmR3ReqProcessOne: Completed request %p: rcReq=%Rrc rcRet=%Rrc - notifying waiting thread\n", 1322 1321 pReq, rcReq, rcRet)); 1323 1322 ASMAtomicXchgSize(&pReq->fEventSemClear, false);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器