VirtualBox

Changeset 25273 in vbox for trunk/src/VBox/VMM/PATM/CSAM.cpp


Ignore:
Timestamp:
Dec 9, 2009 3:03:09 PM (15 years ago)
Author:
vboxsync
Message:

CSAM.cpp: -Wshadow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/CSAM.cpp

    r25226 r25273  
    307307    if (!fRegisteredCmds)
    308308    {
    309         int rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));
     309        rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));
    310310        if (RT_SUCCESS(rc))
    311311            fRegisteredCmds = true;
     
    17851785#endif
    17861786    {
    1787         int rc = PGMR3HandlerVirtualRegister(pVM, PGMVIRTHANDLERTYPE_WRITE, GCPtr, GCPtr + (PAGE_SIZE - 1) /* inclusive! */,
    1788                                              (fMonitorInvalidation) ? CSAMCodePageInvalidate : 0, CSAMCodePageWriteHandler, "CSAMGCCodePageWriteHandler", 0,
    1789                                              csamGetMonitorDescription(enmTag));
     1787        rc = PGMR3HandlerVirtualRegister(pVM, PGMVIRTHANDLERTYPE_WRITE, GCPtr, GCPtr + (PAGE_SIZE - 1) /* inclusive! */,
     1788                                         (fMonitorInvalidation) ? CSAMCodePageInvalidate : 0, CSAMCodePageWriteHandler, "CSAMGCCodePageWriteHandler", 0,
     1789                                         csamGetMonitorDescription(enmTag));
    17901790        AssertMsg(RT_SUCCESS(rc) || rc == VERR_PGM_HANDLER_VIRTUAL_CONFLICT, ("PGMR3HandlerVirtualRegisterEx %RRv failed with %Rrc\n", GCPtr, rc));
    17911791        if (RT_FAILURE(rc))
     
    25472547            }
    25482548
    2549             STAM_PROFILE_START(&pVM->csam.s.StatTime, a);
     2549            STAM_PROFILE_START(&pVM->csam.s.StatTime, b);
    25502550            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);
    25522552            if (rc != VINF_SUCCESS)
    25532553            {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette