Changeset 25273 in vbox for trunk/src/VBox/VMM/PATM/CSAM.cpp
- Timestamp:
- Dec 9, 2009 3:03:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/CSAM.cpp
r25226 r25273 307 307 if (!fRegisteredCmds) 308 308 { 309 intrc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));309 rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds)); 310 310 if (RT_SUCCESS(rc)) 311 311 fRegisteredCmds = true; … … 1785 1785 #endif 1786 1786 { 1787 intrc = PGMR3HandlerVirtualRegister(pVM, PGMVIRTHANDLERTYPE_WRITE, GCPtr, GCPtr + (PAGE_SIZE - 1) /* inclusive! */,1788 1789 1787 rc = PGMR3HandlerVirtualRegister(pVM, PGMVIRTHANDLERTYPE_WRITE, GCPtr, GCPtr + (PAGE_SIZE - 1) /* inclusive! */, 1788 (fMonitorInvalidation) ? CSAMCodePageInvalidate : 0, CSAMCodePageWriteHandler, "CSAMGCCodePageWriteHandler", 0, 1789 csamGetMonitorDescription(enmTag)); 1790 1790 AssertMsg(RT_SUCCESS(rc) || rc == VERR_PGM_HANDLER_VIRTUAL_CONFLICT, ("PGMR3HandlerVirtualRegisterEx %RRv failed with %Rrc\n", GCPtr, rc)); 1791 1791 if (RT_FAILURE(rc)) … … 2547 2547 } 2548 2548 2549 STAM_PROFILE_START(&pVM->csam.s.StatTime, a);2549 STAM_PROFILE_START(&pVM->csam.s.StatTime, b); 2550 2550 rc = csamAnalyseCodeStream(pVM, pHandler, pHandler, true, CSAMR3AnalyseCallback, pPage, &cacheRec); 2551 STAM_PROFILE_STOP(&pVM->csam.s.StatTime, a);2551 STAM_PROFILE_STOP(&pVM->csam.s.StatTime, b); 2552 2552 if (rc != VINF_SUCCESS) 2553 2553 {
Note:
See TracChangeset
for help on using the changeset viewer.