Changeset 2596 in vbox for trunk/include
- Timestamp:
- May 11, 2007 5:13:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pci.h
r480 r2596 77 77 typedef FNPCIIOREGIONMAP *PFNPCIIOREGIONMAP; 78 78 79 /** 80 * Callback function for reading from the PCI configuration space. 81 * 82 * @returns The register value. 83 * @param pPciDev Pointer to PCI device. Use pPciDev->pDevIns to get the device instance. 84 * @param Address The configuration space register address. [0..255] 85 * @param cb The register size. [1,2,4] 86 */ 87 typedef DECLCALLBACK(uint32_t) FNPCICONFIGREAD(PPCIDEVICE pPciDev, uint32_t Address, unsigned cb); 88 /** Pointer to a FNPCICONFIGREAD() function. */ 89 typedef FNPCICONFIGREAD *PFNPCICONFIGREAD; 90 /** Pointer to a PFNPCICONFIGREAD. */ 91 typedef PFNPCICONFIGREAD *PPFNPCICONFIGREAD; 92 93 /** 94 * Callback function for writing to the PCI configuration space. 95 * 96 * @param pPciDev Pointer to PCI device. Use pPciDev->pDevIns to get the device instance. 97 * @param Address The configuration space register address. [0..255] 98 * @param u32Value The value that's being written. The number of bits actually used from 99 * this value is determined by the cb parameter. 100 * @param cb The register size. [1,2,4] 101 */ 102 typedef DECLCALLBACK(void) FNPCICONFIGWRITE(PPCIDEVICE pPciDev, uint32_t Address, uint32_t u32Value, unsigned cb); 103 /** Pointer to a FNPCICONFIGWRITE() function. */ 104 typedef FNPCICONFIGWRITE *PFNPCICONFIGWRITE; 105 /** Pointer to a PFNPCICONFIGWRITE. */ 106 typedef PFNPCICONFIGWRITE *PPFNPCICONFIGWRITE; 107 79 108 /** Fixed I/O region number for ROM. */ 80 109 #define PCI_ROM_SLOT 6
Note:
See TracChangeset
for help on using the changeset viewer.