VirtualBox

Changeset 56640 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 25, 2015 2:59:54 PM (9 years ago)
Author:
vboxsync
Message:

iomMMIOHandler: IOM_LOCK_SHARED may fail in non-R3 contexts.

File:
1 edited

Legend:

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

    r56634 r56640  
    19821982     */
    19831983    int rc = IOM_LOCK_SHARED(pVM);
     1984#ifndef IN_RING3
     1985    if (rc == VERR_SEM_BUSY)
     1986        return VINF_IOM_R3_MMIO_READ_WRITE;
     1987#endif
    19841988    AssertRC(rc);
    19851989    Assert(pRange == iomMmioGetRange(pVM, pVCpu, GCPhysFault));
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