Changeset 81911 in vbox for trunk/include
- Timestamp:
- Nov 17, 2019 8:00:51 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134708
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r81909 r81911 5843 5843 5844 5844 /** 5845 * Combines PDMDevHlpIoPortCreate() & PDMDevHlpIoPortMap(), but with pvUser. 5846 */ 5847 DECLINLINE(int) PDMDevHlpIoPortCreateUAndMap(PPDMDEVINS pDevIns, RTIOPORT Port, RTIOPORT cPorts, PFNIOMIOPORTNEWOUT pfnOut, 5848 PFNIOMIOPORTNEWIN pfnIn, void *pvUser, 5849 const char *pszDesc, PCIOMIOPORTDESC paExtDescs, PIOMIOPORTHANDLE phIoPorts) 5850 { 5851 int rc = pDevIns->pHlpR3->pfnIoPortCreateEx(pDevIns, cPorts, 0, NULL, UINT32_MAX, 5852 pfnOut, pfnIn, NULL, NULL, pvUser, pszDesc, paExtDescs, phIoPorts); 5853 if (RT_SUCCESS(rc)) 5854 rc = pDevIns->pHlpR3->pfnIoPortMap(pDevIns, *phIoPorts, Port); 5855 return rc; 5856 } 5857 5858 /** 5845 5859 * Combines PDMDevHlpIoPortCreateEx() & PDMDevHlpIoPortMap(). 5846 5860 */
Note:
See TracChangeset
for help on using the changeset viewer.