VirtualBox

Changeset 28881 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 28, 2010 8:54:39 PM (15 years ago)
Author:
vboxsync
Message:

AHCI: Error reporting fix

File:
1 edited

Legend:

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

    r28800 r28881  
    48874887        pAhciPortTaskState->uATARegError = 0;
    48884888        pAhciPortTaskState->uATARegStatus = ATA_STAT_READY | ATA_STAT_SEEK;
    4889     }
    4890 
    4891     /* Write updated command header into memory of the guest. */
    4892     PDMDevHlpPhysWrite(pAhciPort->CTX_SUFF(pDevIns), pAhciPortTaskState->GCPhysCmdHdrAddr,
    4893                        &pAhciPortTaskState->cmdHdr, sizeof(CmdHdr));
     4889
     4890        /* Write updated command header into memory of the guest. */
     4891        PDMDevHlpPhysWrite(pAhciPort->CTX_SUFF(pDevIns), pAhciPortTaskState->GCPhysCmdHdrAddr,
     4892                           &pAhciPortTaskState->cmdHdr, sizeof(CmdHdr));
     4893    }
    48944894
    48954895    if (pAhciPortTaskState->enmTxDir == AHCITXDIR_READ)
     
    49184918#endif
    49194919
    4920         if (!cOutstandingTasks)
     4920        if (!cOutstandingTasks || RT_FAILURE(rcReq))
    49214921            ahciSendSDBFis(pAhciPort, 0, pAhciPortTaskState, true);
    49224922    }
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