VirtualBox

Changeset 50638 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 27, 2014 8:15:22 PM (11 years ago)
Author:
vboxsync
Message:

ich9pciWriteBarByte: minor cosmetic - we already have region pointer
in a local var, use it everywhere we need it.

File:
1 edited

Legend:

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

    r50583 r50638  
    18901890
    18911891    if (iOffset > 3)
    1892         Assert((aDev->Int.s.aIORegions[iRegion].type & PCI_ADDRESS_SPACE_BAR64) != 0);
     1892        Assert((pRegion->type & PCI_ADDRESS_SPACE_BAR64) != 0);
    18931893
    18941894    /* Check if we're writing to upper part of 64-bit BAR. */
    1895     if (aDev->Int.s.aIORegions[iRegion].type == 0xff)
     1895    if (pRegion->type == 0xff)
    18961896    {
    18971897        ich9pciWriteBarByte(aDev, iRegion-1, iOffset+4, u8Val);
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