Changeset 35986 in vbox for trunk/src/VBox
- Timestamp:
- Feb 15, 2011 5:50:34 PM (14 years ago)
- Location:
- trunk/src/VBox/HostDrivers/VBoxPci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c
r35959 r35986 39 39 40 40 41 #define DEVPORT_2_VBOXRAWPCIINS(pPort) \ 42 ( (PVBOXRAWPCIINS)((uint8_t *)pPort - RT_OFFSETOF(VBOXRAWPCIINS, DevPort)) ) 43 44 41 45 /** 42 46 * Implements the SUPDRV component factor interface query method. … … 74 78 * @copydoc RAWPCIDEVPORT:: pfnRetain 75 79 */ 76 DECLHIDDEN(void) vboxPciDevRetain(PRAWPCIDEVPORT p This)80 DECLHIDDEN(void) vboxPciDevRetain(PRAWPCIDEVPORT pPort) 77 81 { 78 82 } … … 81 85 * @copydoc RAWPCIDEVPORT:: pfnRelease 82 86 */ 83 DECLHIDDEN(void) vboxPciDevRelease(PRAWPCIDEVPORT pThis) 84 { 85 } 86 87 /** 88 * @copydoc RAWPCIDEVPORT:: pfnRelease 89 */ 90 DECLHIDDEN(int) vboxPciDevInit(PRAWPCIDEVPORT pThis, uint32_t fFlags) 91 { 92 return VINF_SUCCESS; 87 DECLHIDDEN(void) vboxPciDevRelease(PRAWPCIDEVPORT pPort) 88 { 89 } 90 91 /** 92 * @copydoc RAWPCIDEVPORT:: pfnInit 93 */ 94 DECLHIDDEN(int) vboxPciDevInit(PRAWPCIDEVPORT pPort, uint32_t fFlags) 95 { 96 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); 97 98 int rc = vboxPciOsDevInit(pThis, fFlags); 99 100 return rc; 93 101 } 94 102 … … 144 152 } 145 153 146 147 154 /** 148 155 * @copydoc RAWPCIFACTORY::pfnCreateAndConnect -
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h
r35946 r35986 88 88 DECLHIDDEN(void) vboxPciShutdown(PVBOXRAWPCIGLOBALS pGlobals); 89 89 90 DECLHIDDEN(int) vboxPciOsDevInit (PVBOXRAWPCIINS pIns, uint32_t fFlags); 91 DECLHIDDEN(int) vboxPciOsDevDeinit(PVBOXRAWPCIINS pIns, uint32_t fFlags); 92 90 93 RT_C_DECLS_END 91 94
Note:
See TracChangeset
for help on using the changeset viewer.