VirtualBox

Changeset 56408 in vbox


Ignore:
Timestamp:
Jun 13, 2015 7:56:55 PM (10 years ago)
Author:
vboxsync
Message:

DevATA: Allow ataBMDMACmdWriteB to start stuff in ring-0 too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r56407 r56408  
    58975897    else
    58985898    {
    5899 #ifdef IN_RING3
     5899#ifndef IN_RC
    59005900        /* Check whether the guest OS wants to change DMA direction in
    59015901         * mid-flight. Not allowed, according to the PIIX3 specs. */
     
    59245924        }
    59255925#else /* !IN_RING3 */
    5926         AssertMsgFailed(("DMA START handling is too complicated for GC\n"));
     5926        AssertMsgFailed(("DMA START handling is too complicated for RC\n"));
    59275927#endif /* IN_RING3 */
    59285928    }
     
    60216021    {
    60226022        case VAL(0, 1):
    6023 #ifndef IN_RING3
     6023#ifdef IN_RC
    60246024            if (u32 & BM_CMD_START)
    60256025            {
     
    60276027                break;
    60286028            }
    6029 #endif /* !IN_RING3 */
     6029#endif
    60306030            ataBMDMACmdWriteB(pCtl, Port, u32);
    60316031            break;
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