VirtualBox

Changeset 25594 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Dec 30, 2009 1:50:54 PM (15 years ago)
Author:
vboxsync
Message:

PCI: Bits 0-1 of the address register are reserved. Real hardware clears these silently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r25267 r25594  
    11341134        PPCIGLOBALS pThis = PDMINS_2_DATA(pDevIns, PPCIGLOBALS);
    11351135        PCI_LOCK(pDevIns, VINF_IOM_HC_IOPORT_WRITE);
    1136         pThis->uConfigReg = u32;
     1136        pThis->uConfigReg = u32 & ~3; /* Bits 0-1 are reserved and we silently clear them */
    11371137        PCI_UNLOCK(pDevIns);
    11381138    }
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