VirtualBox

Changeset 11080 in vbox for trunk/include


Ignore:
Timestamp:
Aug 3, 2008 6:08:06 PM (16 years ago)
Author:
vboxsync
Message:

PCIDevSetBaseAddress: Corrected incorrect shift to get the 2nd byte, took the 3rd instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pci.h

    r9330 r11080  
    390390    u32Addr = RT_H2LE_U32(u32Addr);
    391391    pPciDev->config[iReg]     = u32Addr         & 0xff;
    392     pPciDev->config[iReg + 1] = (u32Addr >> 16) & 0xff;
     392    pPciDev->config[iReg + 1] = (u32Addr >>  8) & 0xff;
    393393    pPciDev->config[iReg + 2] = (u32Addr >> 16) & 0xff;
    394394    pPciDev->config[iReg + 3] = (u32Addr >> 24) & 0xff;
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