VirtualBox

Changeset 64460 in vbox


Ignore:
Timestamp:
Oct 28, 2016 2:12:41 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
111594
Message:

DevPci: Cleaning up ich9pciConfigWriteDev.

File:
1 edited

Legend:

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

    r64459 r64460  
    20972097                        {
    20982098                            /* don't change reserved bits (11-15) */
    2099                             bVal &= ~UINT32_C(0xf8);
     2099                            bVal &= ~UINT8_C(0xf8);
    21002100                            PCIDevSetByte(pPciDev, uAddress, bVal);
    21012101                            fUpdateMappings = true;
     
    21052105                    case VBOX_PCI_STATUS:  /* Status register, bits 0-7. */
    21062106                        /* don't change read-only bits => actually all lower bits are read-only */
    2107                         bVal &= ~UINT32_C(0xff);
     2107                        bVal &= ~UINT8_C(0xff);
    21082108                        /* status register, low part: clear bits by writing a '1' to the corresponding bit */
    21092109                        pPciDev->abConfig[uAddress] &= ~bVal;
     
    21122112                    case VBOX_PCI_STATUS+1:  /* Status register, bits 8-15. */
    21132113                        /* don't change read-only bits */
    2114                         bVal &= ~UINT32_C(0x06);
     2114                        bVal &= ~UINT8_C(0x06);
    21152115                        /* status register, high part: clear bits by writing a '1' to the corresponding bit */
    21162116                        pPciDev->abConfig[uAddress] &= ~bVal;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette