VirtualBox

忽略:
時間撮記:
2013-1-27 下午09:12:53 (12 年 以前)
作者:
vboxsync
訊息:

DBGF,DBGC,++: PVM -> PUVM. Some refactoring and cleanup as well.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMR3/EMRaw.cpp

    r44375 r44399  
    237237    {
    238238        DBGFR3PrgStep(pVCpu);
    239         DBGFR3DisasInstrCurrentLog(pVCpu, "RSS: ");
     239        DBGFR3_DISAS_INSTR_CUR_LOG(pVCpu, "RSS: ");
    240240        rc = emR3RawStep(pVM, pVCpu);
    241241        if (rc != VINF_SUCCESS)
     
    285285    if (pszPrefix)
    286286    {
    287         DBGFR3InfoLog(pVM, "cpumguest", pszPrefix);
    288         DBGFR3DisasInstrCurrentLog(pVCpu, pszPrefix);
     287        DBGFR3_INFO_LOG(pVM, "cpumguest", pszPrefix);
     288        DBGFR3_DISAS_INSTR_CUR_LOG(pVCpu, pszPrefix);
    289289    }
    290290#endif /* LOG_ENABLED */
     
    634634
    635635#ifdef LOG_ENABLED
    636     DBGFR3InfoLog(pVM, "cpumguest", "Guest trap");
    637     DBGFR3DisasInstrCurrentLog(pVCpu, "Guest trap");
     636    DBGFR3_INFO_LOG(pVM, "cpumguest", "Guest trap");
     637    DBGFR3_DISAS_INSTR_CUR_LOG(pVCpu, "Guest trap");
    638638
    639639    /* Get guest page information. */
     
    687687                if (RT_SUCCESS(rc))
    688688                {
    689                     DBGFR3DisasInstrCurrentLog(pVCpu, "Patched sysenter instruction");
     689                    DBGFR3_DISAS_INSTR_CUR_LOG(pVCpu, "Patched sysenter instruction");
    690690                    return VINF_EM_RESCHEDULE_RAW;
    691691                }
     
    770770    {
    771771#ifdef LOG_ENABLED
    772         DBGFR3InfoLog(pVM, "cpumguest", "Trap in patch code");
    773         DBGFR3DisasInstrCurrentLog(pVCpu, "Patch code");
     772        DBGFR3_INFO_LOG(pVM, "cpumguest", "Trap in patch code");
     773        DBGFR3_DISAS_INSTR_CUR_LOG(pVCpu, "Patch code");
    774774
    775775        DISCPUSTATE Cpu;
     
    924924        {
    925925#ifdef LOG_ENABLED
    926             DBGFR3InfoLog(pVM, "cpumguest", "PRIV");
     926            DBGFR3_INFO_LOG(pVM, "cpumguest", "PRIV");
    927927#endif
    928928            AssertMsgFailed(("FATAL ERROR: executing random instruction inside generated patch jump %08x\n", pCtx->eip));
     
    938938            {
    939939#ifdef LOG_ENABLED
    940                 DBGFR3InfoLog(pVM, "cpumguest", "PRIV");
     940                DBGFR3_INFO_LOG(pVM, "cpumguest", "PRIV");
    941941#endif
    942                 DBGFR3DisasInstrCurrentLog(pVCpu, "Patched privileged instruction");
     942                DBGFR3_DISAS_INSTR_CUR_LOG(pVCpu, "Patched privileged instruction");
    943943                return VINF_SUCCESS;
    944944            }
     
    949949    if (!PATMIsPatchGCAddr(pVM, pCtx->eip))
    950950    {
    951         DBGFR3InfoLog(pVM, "cpumguest", "PRIV");
    952         DBGFR3DisasInstrCurrentLog(pVCpu, "Privileged instr: ");
     951        DBGFR3_INFO_LOG(pVM, "cpumguest", "PRIV");
     952        DBGFR3_DISAS_INSTR_CUR_LOG(pVCpu, "Privileged instr: ");
    953953    }
    954954#endif
     
    10891089                    if (PATMIsPatchGCAddr(pVM, pCtx->eip))
    10901090                    {
    1091                         DBGFR3InfoLog(pVM, "cpumguest", "PRIV");
    1092                         DBGFR3DisasInstrCurrentLog(pVCpu, "Privileged instr: ");
     1091                        DBGFR3_INFO_LOG(pVM, "cpumguest", "PRIV");
     1092                        DBGFR3_DISAS_INSTR_CUR_LOG(pVCpu, "Privileged instr: ");
    10931093                    }
    10941094#endif
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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