VirtualBox

Changeset 17644 in vbox for trunk/src


Ignore:
Timestamp:
Mar 10, 2009 4:39:21 PM (16 years ago)
Author:
vboxsync
Message:

Fixed one lock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r17643 r17644  
    988988# endif /* PGM_SHW_TYPE == PGM_TYPE_AMD64 */
    989989
     990    const SHWPDE PdeDst = *pPdeDst;
     991    if (!PdeDst.n.u1Present)
     992    {
     993        STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,InvalidatePageSkipped));
     994        return VINF_SUCCESS;
     995    }
     996
    990997# if defined(IN_RC)
    991998    /* Make sure the dynamic pPdeDst mapping will not be reused during this function. */
    992999    PGMDynLockHCPage(pVM, (uint8_t *)pPdeDst);
    9931000# endif
    994 
    995     const SHWPDE PdeDst = *pPdeDst;
    996     if (!PdeDst.n.u1Present)
    997     {
    998         STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,InvalidatePageSkipped));
    999         return VINF_SUCCESS;
    1000     }
    10011001
    10021002    /*
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