Changeset 30898 in vbox for trunk/include/VBox
- Timestamp:
- Jul 19, 2010 7:27:44 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pci.h
r30488 r30898 450 450 } 451 451 452 /** 453 * Sets offset to capability list. 454 * 455 * @param pPciDev The PCI device. 456 * @param u8Offset The offset to capability list. 457 */ 458 DECLINLINE(void) PCIDevSetCapabilityList(PPCIDEVICE pPciDev, uint8_t u8Offset) 459 { 460 pPciDev->config[VBOX_PCI_CAPABILITY_LIST] = u8Offset; 461 } 462 463 /** 464 * Returns offset to capability list. 465 * 466 * @returns offset to capability list. 467 * @param pPciDev The PCI device. 468 */ 469 DECLINLINE(uint8_t) PCIDevGetCapabilityList(PPCIDEVICE pPciDev) 470 { 471 return pPciDev->config[VBOX_PCI_CAPABILITY_LIST]; 472 } 452 473 453 474 /**
Note:
See TracChangeset
for help on using the changeset viewer.