Changeset 2597 in vbox for trunk/include
- Timestamp:
- May 11, 2007 6:19:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdm.h
r2576 r2597 3280 3280 3281 3281 /** 3282 * Register PCI configuration space read/write callbacks. 3283 * 3284 * @param pDevIns Device instance of the PCI Bus. 3285 * @param pPciDev The PCI device structure. 3286 * @param pfnRead Pointer to the user defined PCI config read function. 3287 * @param ppfnReadOld Pointer to function pointer which will receive the old (default) 3288 * PCI config read function. This way, user can decide when (and if) 3289 * to call default PCI config read function. Can be NULL. 3290 * @param pfnWrite Pointer to the user defined PCI config write function. 3291 * @param pfnWriteOld Pointer to function pointer which will receive the old (default) 3292 * PCI config write function. This way, user can decide when (and if) 3293 * to call default PCI config write function. Can be NULL. 3294 * @thread EMT 3295 */ 3296 DECLR3CALLBACKMEMBER(void, pfnSetConfigCallbacksHC,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PFNPCICONFIGREAD pfnRead, PPFNPCICONFIGREAD ppfnReadOld, 3297 PFNPCICONFIGWRITE pfnWrite, PPFNPCICONFIGWRITE ppfnWriteOld)); 3298 3299 /** 3282 3300 * Set the IRQ for a PCI device. 3283 3301 * … … 3330 3348 3331 3349 /** Current PDMPCIBUSREG version number. */ 3332 #define PDM_PCIBUSREG_VERSION 0xd00 100003350 #define PDM_PCIBUSREG_VERSION 0xd0020000 3333 3351 3334 3352 /** … … 4713 4731 4714 4732 /** 4733 * Register PCI configuration space read/write callbacks. 4734 * 4735 * @param pDevIns Device instance. 4736 * @param pPciDev The PCI device structure. 4737 * If NULL the default PCI device for this device instance is used. 4738 * @param pfnRead Pointer to the user defined PCI config read function. 4739 * @param ppfnReadOld Pointer to function pointer which will receive the old (default) 4740 * PCI config read function. This way, user can decide when (and if) 4741 * to call default PCI config read function. Can be NULL. 4742 * @param pfnWrite Pointer to the user defined PCI config write function. 4743 * @param pfnWriteOld Pointer to function pointer which will receive the old (default) 4744 * PCI config write function. This way, user can decide when (and if) 4745 * to call default PCI config write function. Can be NULL. 4746 * @thread EMT 4747 */ 4748 DECLR3CALLBACKMEMBER(void, pfnPCISetConfigCallbacks,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PFNPCICONFIGREAD pfnRead, PPFNPCICONFIGREAD ppfnReadOld, 4749 PFNPCICONFIGWRITE pfnWrite, PPFNPCICONFIGWRITE ppfnWriteOld)); 4750 4751 /** 4715 4752 * Set the IRQ for a PCI device. 4716 4753 * … … 5310 5347 5311 5348 /** Current PDMDEVHLP version number. */ 5312 #define PDM_DEVHLP_VERSION 0xf20 200005349 #define PDM_DEVHLP_VERSION 0xf2030000 5313 5350 5314 5351 … … 5778 5815 5779 5816 /** 5817 * @copydoc PDMDEVHLP::pfnPCISetConfigCallbacks 5818 */ 5819 DECLINLINE(void) PDMDevHlpPCISetConfigCallbacks(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PFNPCICONFIGREAD pfnRead, PPFNPCICONFIGREAD ppfnReadOld, 5820 PFNPCICONFIGWRITE pfnWrite, PPFNPCICONFIGWRITE ppfnWriteOld) 5821 { 5822 pDevIns->pDevHlp->pfnPCISetConfigCallbacks(pDevIns, pPciDev, pfnRead, ppfnReadOld, pfnWrite, ppfnWriteOld); 5823 } 5824 5825 /** 5780 5826 * @copydoc PDMDEVHLP::pfnDriverAttach 5781 5827 */
Note:
See TracChangeset
for help on using the changeset viewer.