VirtualBox

忽略:
時間撮記:
2008-2-7 下午07:24:14 (17 年 以前)
作者:
vboxsync
訊息:

All the new ROM stuff. Had to change PGMROMPAGE a bit to make it easier to work with wrt. mapping.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r6829 r6854  
    313313        STAM_COUNTER_INC(&pVM->pgm.s.StatPageReplaceShared);
    314314        pVM->pgm.s.cSharedPages--;
     315/** @todo err.. what about copying the page content? */
    315316    }
    316317    else
     
    319320        STAM_COUNTER_INC(&pVM->pgm.s.StatPageReplaceZero);
    320321        pVM->pgm.s.cZeroPages--;
     322/** @todo verify that the handy page is zero! */
    321323    }
    322324
     
    565567        PPGMPAGE pPage = pTlbe->pPage;
    566568        if (RT_UNLIKELY(pPage->u2State != PGM_PAGE_STATE_ALLOCATED))
     569        {
    567570            rc = pgmPhysPageMakeWritable(pVM, pPage, GCPhys);
     571            /** @todo stuff is missing here! */
     572        }
    568573        if (RT_SUCCESS(rc))
    569574        {
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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