VirtualBox

Changeset 40727 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 30, 2012 1:53:46 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77195
Message:

IOMMMIOMapMMIO2Page: Must check IOM_LOCK status code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp

    r40449 r40727  
    23322332 * (This is a special optimization used by the VGA device.)
    23332333 *
    2334  * @returns VBox status code.
     2334 * @returns VBox status code.  This API may return VINF_SUCCESS even if no
     2335 *          remapping is made,.
    23352336 *
    23362337 * @param   pVM             The virtual machine.
     
    23532354        return VINF_SUCCESS;    /* ignore */
    23542355
    2355     IOM_LOCK(pVM);
     2356    int rc = IOM_LOCK(pVM);
     2357    if (RT_FAILURE(rc))
     2358        return VINF_SUCCESS; /* better luck the next time around */
    23562359
    23572360    /*
     
    23712374    GCPhysRemapped &= ~(RTGCPHYS)PAGE_OFFSET_MASK;
    23722375
    2373     int rc = PGMHandlerPhysicalPageAlias(pVM, pRange->GCPhys, GCPhys, GCPhysRemapped);
     2376    rc = PGMHandlerPhysicalPageAlias(pVM, pRange->GCPhys, GCPhys, GCPhysRemapped);
    23742377
    23752378    IOM_UNLOCK(pVM);
Note: See TracChangeset for help on using the changeset viewer.

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