Changeset 81928 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Nov 18, 2019 12:42:34 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134725
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r81923 r81928 5857 5857 5858 5858 /** 5859 * Combines PDMDevHlpIoPortCreate() & PDMDevHlpIoPortMap(), but with flags. 5860 */ 5861 DECLINLINE(int) PDMDevHlpIoPortCreateFlagsAndMap(PPDMDEVINS pDevIns, RTIOPORT Port, RTIOPORT cPorts, uint32_t fFlags, 5862 PFNIOMIOPORTNEWOUT pfnOut, PFNIOMIOPORTNEWIN pfnIn, 5863 const char *pszDesc, PCIOMIOPORTDESC paExtDescs, PIOMIOPORTHANDLE phIoPorts) 5864 { 5865 int rc = pDevIns->pHlpR3->pfnIoPortCreateEx(pDevIns, cPorts, fFlags, NULL, UINT32_MAX, 5866 pfnOut, pfnIn, NULL, NULL, NULL, pszDesc, paExtDescs, phIoPorts); 5867 if (RT_SUCCESS(rc)) 5868 rc = pDevIns->pHlpR3->pfnIoPortMap(pDevIns, *phIoPorts, Port); 5869 return rc; 5870 } 5871 5872 /** 5859 5873 * Combines PDMDevHlpIoPortCreateEx() & PDMDevHlpIoPortMap(). 5860 5874 */
Note:
See TracChangeset
for help on using the changeset viewer.