VirtualBox

Ignore:
Timestamp:
Aug 4, 2009 1:47:24 PM (15 years ago)
Author:
vboxsync
Message:

Corrected assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r21596 r21957  
    38243824        rc = PGMShwModifyPage(PDMDevHlpGetVMCPU(pThis->CTX_SUFF(pDevIns)), GCPtr, 1, X86_PTE_RW, ~(uint64_t)X86_PTE_RW);
    38253825        PDMCritSectLeave(&pThis->lock);
    3826         if (RT_SUCCESS(rc))
    3827             return VINF_SUCCESS;
    3828 
    3829         AssertMsgFailed(("PGMShwModifyPage -> rc=%d\n", rc));
     3826        AssertMsgReturn(    rc == VINF_SUCCESS
     3827                        /* In the SMP case the page table might be removed while we wait for the PGM lock in the trap handler. */
     3828                        ||  rc == VERR_PAGE_TABLE_NOT_PRESENT
     3829                        ||  rc == VERR_PAGE_NOT_PRESENT,
     3830                        ("PGMShwModifyPage -> GCPtr=%RGv rc=%d\n", GCPtr, rc),
     3831                        rc);
     3832        return VINF_SUCCESS;
    38303833#else /* IN_RING3 : We don't have any virtual page address of the access here. */
    38313834        PDMCritSectLeave(&pThis->lock);
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