VirtualBox

vbox的更動 7999 路徑 trunk/src/VBox/Devices/Graphics


忽略:
時間撮記:
2008-4-15 下午02:56:54 (17 年 以前)
作者:
vboxsync
訊息:

Don't call PGMHandlerPhysicalReset if the VRAM isn't mapped and therefore doesn't have anything that needs resetting. Fixes #2774.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r7973 r7999  
    42944294        return rc;
    42954295
    4296     if (pData->fHaveDirtyBits)
     4296    if (pData->fHaveDirtyBits && pData->GCPhysVRAM && pData->GCPhysVRAM != NIL_RTGCPHYS)
    42974297    {
    42984298        PPDMDEVINS pDevIns = pData->pDevInsHC;
     
    43274327
    43284328    /* The dirty bits array has been just cleared, reset handlers as well. */
    4329     PPDMDEVINS pDevIns = pData->pDevInsHC;
    4330     PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pData->GCPhysVRAM);
     4329    if (pData->GCPhysVRAM && pData->GCPhysVRAM != NIL_RTGCPHYS)
     4330    {
     4331        PPDMDEVINS pDevIns = pData->pDevInsHC;
     4332        PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pData->GCPhysVRAM);
     4333    }
    43314334
    43324335    return rc;
     
    49344937    if (    (   pData->fGCEnabled
    49354938             || pData->fR0Enabled)
    4936         &&  pData->GCPhysVRAM)
     4939        &&  pData->GCPhysVRAM
     4940        &&  pData->GCPhysVRAM != NIL_RTGCPHYS)
    49374941    {
    49384942        int rc = PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pData->GCPhysVRAM);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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