VirtualBox

Changeset 22124 in vbox


Ignore:
Timestamp:
Aug 10, 2009 10:24:29 AM (15 years ago)
Author:
vboxsync
Message:

AHCI: Fix following regressions from 3.0.4

  • BSOD when rebooting Windows XP (#4710)
  • Hang during boot if a hard disk is attached to port 1 (#4695 and #4739)
File:
1 edited

Legend:

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

    r21910 r22124  
    15151515
    15161516            /* Check if the cleared ports have a interrupt status bit set. */
    1517             while (u32Value > 0)
     1517            while ((u32Value > 0) && (i < AHCI_MAX_NR_PORTS_IMPL))
    15181518            {
    15191519                if (u32Value & 0x01)
     
    18171817    {
    18181818        pAhciPort->regCMD |= AHCI_PORT_CMD_CPS; /* Indicate that there is a device on that port */
    1819         /* We received a COMINIT signal */
    1820         pAhciPort->regTFD  |= ATA_STAT_BUSY;
    18211819
    18221820        if (pAhciPort->fPoweredOn)
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