Changeset 81772 in vbox for trunk/include
- Timestamp:
- Nov 11, 2019 6:05:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r81764 r81772 5946 5946 5947 5947 /** 5948 * Combines PDMDevHlpIoPortCreateEx() & PDMDevHlpIoPortMap(). 5949 */ 5950 DECLINLINE(int) PDMDevHlpIoPortCreateExAndMap(PPDMDEVINS pDevIns, RTIOPORT Port, RTIOPORT cPorts, 5951 PFNIOMIOPORTNEWOUT pfnOut, PFNIOMIOPORTNEWIN pfnIn, 5952 PFNIOMIOPORTNEWOUTSTRING pfnOutStr, PFNIOMIOPORTNEWINSTRING pfnInStr, void *pvUser, 5953 const char *pszDesc, PCIOMIOPORTDESC paExtDescs, PIOMIOPORTHANDLE phIoPorts) 5954 { 5955 int rc = pDevIns->pHlpR3->pfnIoPortCreateEx(pDevIns, cPorts, 0, NULL, UINT32_MAX, 5956 pfnOut, pfnIn, pfnOutStr, pfnInStr, pvUser, pszDesc, paExtDescs, phIoPorts); 5957 if (RT_SUCCESS(rc)) 5958 rc = pDevIns->pHlpR3->pfnIoPortMap(pDevIns, *phIoPorts, Port); 5959 return rc; 5960 } 5961 5962 /** 5948 5963 * @sa PDMDevHlpIoPortCreateEx 5949 5964 */
Note:
See TracChangeset
for help on using the changeset viewer.