VirtualBox

Changeset 41853 in vbox for trunk


Ignore:
Timestamp:
Jun 20, 2012 7:44:39 PM (13 years ago)
Author:
vboxsync
Message:

docs, please.

File:
1 edited

Legend:

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

    r41825 r41853  
    818818}
    819819
    820 DECLINLINE(uint32_t) PCIDevGetRegionReg(int iRegion)
    821 {
    822     return (iRegion == VBOX_PCI_ROM_SLOT) ?
    823             VBOX_PCI_ROM_ADDRESS : (VBOX_PCI_BASE_ADDRESS_0 + iRegion * 4);
    824 }
    825 
    826 /**
     820/**
     821 * Please document me. I don't seem to be getting as much as calculating
     822 * the address of some PCI region.
     823 */
     824DECLINLINE(uint32_t) PCIDevGetRegionReg(uint32_t iRegion)
     825{
     826    return iRegion == VBOX_PCI_ROM_SLOT
     827         ? VBOX_PCI_ROM_ADDRESS : (VBOX_PCI_BASE_ADDRESS_0 + iRegion * 4);
     828}
    827829 * Sets the sub-system vendor id config register.
    828830 *
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