- Timestamp:
- Feb 17, 2009 4:37:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMTests.cpp
r16408 r16861 70 70 CPUMPushHyper(pVM, RCPtrEP); /* what to call */ 71 71 CPUMSetHyperEIP(pVM, pVM->vmm.s.pfnCallTrampolineRC); 72 Assert(CPUMGetHyperCR3(pVM) && CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM)); 72 73 rc = SUPCallVMMR0Fast(pVM->pVMR0, VMMR0_DO_RAW_RUN, 0); 73 74 if (RT_LIKELY(rc == VINF_SUCCESS)) … … 107 108 CPUMPushHyper(pVM, RCPtrEP); /* what to call */ 108 109 CPUMSetHyperEIP(pVM, pVM->vmm.s.pfnCallTrampolineRC); 110 Assert(CPUMGetHyperCR3(pVM) && CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM)); 109 111 rc = SUPCallVMMR0Fast(pVM->pVMR0, VMMR0_DO_RAW_RUN, 0); 110 112 if (RT_LIKELY(rc == VINF_SUCCESS)) … … 350 352 uint64_t tsBegin = RTTimeNanoTS(); 351 353 uint64_t TickStart = ASMReadTSC(); 354 Assert(CPUMGetHyperCR3(pVM) && CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM)); 352 355 do 353 356 { … … 393 396 tsBegin = RTTimeNanoTS(); 394 397 TickStart = ASMReadTSC(); 398 Assert(CPUMGetHyperCR3(pVM) && CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM)); 395 399 for (i = 0; i < 1000000; i++) 396 400 {
Note:
See TracChangeset
for help on using the changeset viewer.