VirtualBox

Changeset 105452 in vbox for trunk


Ignore:
Timestamp:
Jul 23, 2024 3:54:23 PM (6 months ago)
Author:
vboxsync
Message:

DevATA: Do not force bits 7 and 5 in the drive/head register (0x1F6) to one. Some guests expect these bits to be writable, and they are on real drives (see bugref:5869).

File:
1 edited

Legend:

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

    r99739 r105452  
    47304730            break;
    47314731        case 6: /* drive/head */
    4732             pCtl->aIfs[0].uATARegSelect = (val & ~0x10) | 0xa0;
    4733             pCtl->aIfs[1].uATARegSelect = (val | 0x10) | 0xa0;
     4732            pCtl->aIfs[0].uATARegSelect = val & ~0x10;
     4733            pCtl->aIfs[1].uATARegSelect = val | 0x10;
    47344734            if (((val >> 4) & ATA_SELECTED_IF_MASK) != pCtl->iSelectedIf)
    47354735            {
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