vbox的更動 13633 路徑 trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
- 時間撮記:
- 2008-10-28 下午05:12:11 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
r13380 r13633 92 92 return CTXALLSUFF(pVM->tm.s.pfnVirtualGetRaw)(&CTXALLSUFF(pVM->tm.s.VirtualGetRawData)); 93 93 # else /* !IN_RING3 */ 94 uint32_t cPrevSteps = pVM->tm.s.CTX ALLSUFF(VirtualGetRawData).c1nsSteps;95 uint64_t u64 = CTXALLSUFF(pVM->tm.s.pfnVirtualGetRaw)(&CTXALLSUFF(pVM->tm.s.VirtualGetRawData));96 if (cPrevSteps != pVM->tm.s.CTX ALLSUFF(VirtualGetRawData).c1nsSteps)94 uint32_t cPrevSteps = pVM->tm.s.CTX_SUFF(VirtualGetRawData).c1nsSteps; 95 uint64_t u64 = pVM->tm.s.CTX_SUFF(pfnVirtualGetRaw)(&pVM->tm.s.CTX_SUFF(VirtualGetRawData)); 96 if (cPrevSteps != pVM->tm.s.CTX_SUFF(VirtualGetRawData).c1nsSteps) 97 97 VM_FF_SET(pVM, VM_FF_TO_R3); /* S10 hack */ 98 98 return u64; … … 226 226 { 227 227 /* occasional - u64NanoTS is in the 'past' relative to previous returns. */ 228 ASMAtomicIncU32(&pVM->tm.s.CTX ALLSUFF(VirtualGetRawData).c1nsSteps);228 ASMAtomicIncU32(&pVM->tm.s.CTX_SUFF(VirtualGetRawData).c1nsSteps); 229 229 u64NanoTS = u64PrevNanoTS + 1; 230 230 #ifndef IN_RING3 … … 235 235 { 236 236 /* Something has gone bust, if negative offset it's real bad. */ 237 ASMAtomicIncU32(&pVM->tm.s.CTX ALLSUFF(VirtualGetRawData).cBadPrev);237 ASMAtomicIncU32(&pVM->tm.s.CTX_SUFF(VirtualGetRawData).cBadPrev); 238 238 if ((int64_t)u64DeltaPrev < 0) 239 239 LogRel(("TM: u64DeltaPrev=%RI64 u64PrevNanoTS=0x%016RX64 u64NanoTS=0x%016RX64 u64Delta=%#RX64\n", … … 336 336 if ( fCheckTimers 337 337 && !VM_FF_ISSET(pVM, VM_FF_TIMER) 338 && ( pVM->tm.s.CTX ALLSUFF(paTimerQueues)[TMCLOCK_VIRTUAL].u64Expire <= u64338 && ( pVM->tm.s.CTX_SUFF(paTimerQueues)[TMCLOCK_VIRTUAL].u64Expire <= u64 339 339 || ( pVM->tm.s.fVirtualSyncTicking 340 && pVM->tm.s.CTX ALLSUFF(paTimerQueues)[TMCLOCK_VIRTUAL_SYNC].u64Expire <= u64 - pVM->tm.s.offVirtualSync340 && pVM->tm.s.CTX_SUFF(paTimerQueues)[TMCLOCK_VIRTUAL_SYNC].u64Expire <= u64 - pVM->tm.s.offVirtualSync 341 341 ) 342 342 ) … … 416 416 if ( fCheckTimers 417 417 && !VM_FF_ISSET(pVM, VM_FF_TIMER) 418 && pVM->tm.s.CTX ALLSUFF(paTimerQueues)[TMCLOCK_VIRTUAL].u64Expire <= u64)418 && pVM->tm.s.CTX_SUFF(paTimerQueues)[TMCLOCK_VIRTUAL].u64Expire <= u64) 419 419 { 420 420 VM_FF_SET(pVM, VM_FF_TIMER); … … 486 486 */ 487 487 u64 -= off; 488 const uint64_t u64Expire = pVM->tm.s.CTX ALLSUFF(paTimerQueues)[TMCLOCK_VIRTUAL_SYNC].u64Expire;488 const uint64_t u64Expire = pVM->tm.s.CTX_SUFF(paTimerQueues)[TMCLOCK_VIRTUAL_SYNC].u64Expire; 489 489 if (u64 >= u64Expire) 490 490 {
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器