- Timestamp:
- Jun 20, 2012 7:44:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pci.h
r41825 r41853 818 818 } 819 819 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 */ 824 DECLINLINE(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 } 827 829 * Sets the sub-system vendor id config register. 828 830 *
Note:
See TracChangeset
for help on using the changeset viewer.