VirtualBox

Changeset 33917 in vbox


Ignore:
Timestamp:
Nov 9, 2010 5:09:57 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67573
Message:

PC BIOS: add bus into PCI address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r33910 r33917  
    11411141                return PDMDEV_SET_ERROR(pDevIns, rc,
    11421142                                        N_("Configuration error: Querying \"Netboot/x/PCIFunctionNo\" as integer failed"));
    1143             /** @todo: encode bus number too */
    1144             u16BusDevFn = ((u8PciDev & 0x1F) << 3) | (u8PciFn & 0x7);
     1143            u16BusDevFn = (((uint16_t)u8PciBus) << 8) | ((u8PciDev & 0x1F) << 3) | (u8PciFn & 0x7);
    11451144            pThis->au16NetBootDev[i] = u16BusDevFn;
    11461145        }
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