VirtualBox

儲存庫 vbox 的更動 65902


忽略:
時間撮記:
2017-2-28 下午03:00:12 (8 年 以前)
作者:
vboxsync
訊息:

Reapplied r113096 (backed out in r113137) in disabled form so it's not forgotten/lost: PGM: Reset GCPhysCR3 when unmapping CR3.

檔案:
修改 1 筆資料

圖例:

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

    r65900 r65902  
    25492549    int rc = PGM_GST_PFN(Exit, pVCpu)(pVCpu);
    25502550    AssertRC(rc);
     2551#ifdef REMEMBER_TO_ENABLE_THESE_GCPhycCR3_NIL_ASSIGNMENTS /** @todo Enable r113096 and fix. */
     2552    pVCpu->pgm.s.GCPhysCR3 = NIL_RTGCPHYS;
     2553#endif
    25512554
    25522555    rc = PGMR3ChangeMode(pVM, pVCpu, PGMMODE_REAL);
     
    26032606        int rc = PGM_GST_PFN(Exit, pVCpu)(pVCpu);
    26042607        AssertReleaseRC(rc);
     2608#ifdef REMEMBER_TO_ENABLE_THESE_GCPhycCR3_NIL_ASSIGNMENTS /** @todo Enable r113096 and fix. */
     2609        pVCpu->pgm.s.GCPhysCR3 = NIL_RTGCPHYS;
     2610#endif
    26052611    }
    26062612
     
    35143520        }
    35153521    }
     3522#ifdef REMEMBER_TO_ENABLE_THESE_GCPhycCR3_NIL_ASSIGNMENTS /** @todo Enable r113096 and fix. */
     3523    pVCpu->pgm.s.GCPhysCR3 = NIL_RTGCPHYS;
     3524#endif
    35163525
    35173526    /*
     
    37403749    int rc = PGM_BTH_PFN(UnmapCR3, pVCpu)(pVCpu);
    37413750    AssertRC(rc);
     3751#ifdef REMEMBER_TO_ENABLE_THESE_GCPhycCR3_NIL_ASSIGNMENTS /** @todo Enable r113096 and fix. */
     3752    pVCpu->pgm.s.GCPhysCR3 = NIL_RTGCPHYS;
     3753#endif
    37423754
    37433755    /* Exit the current shadow paging mode as well; nested paging and EPT use a root CR3 which will get flushed here. */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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