Changeset 36621 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Apr 8, 2011 8:00:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c
r36616 r36621 167 167 * @copydoc RAWPCIDEVPORT:: pfnInit 168 168 */ 169 DECLHIDDEN(int) vboxPciDevInit(PRAWPCIDEVPORT pPort, uint32_t fFlags)169 static DECLCALLBACK(int) vboxPciDevInit(PRAWPCIDEVPORT pPort, uint32_t fFlags) 170 170 { 171 171 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 184 184 * @copydoc RAWPCIDEVPORT:: pfnDeinit 185 185 */ 186 DECLHIDDEN(int) vboxPciDevDeinit(PRAWPCIDEVPORT pPort, uint32_t fFlags)186 static DECLCALLBACK(int) vboxPciDevDeinit(PRAWPCIDEVPORT pPort, uint32_t fFlags) 187 187 { 188 188 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 209 209 * @copydoc RAWPCIDEVPORT:: pfnDestroy 210 210 */ 211 DECLHIDDEN(int) vboxPciDevDestroy(PRAWPCIDEVPORT pPort)211 static DECLCALLBACK(int) vboxPciDevDestroy(PRAWPCIDEVPORT pPort) 212 212 { 213 213 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 241 241 * @copydoc RAWPCIDEVPORT:: pfnGetRegionInfo 242 242 */ 243 DECLHIDDEN(int) vboxPciDevGetRegionInfo(PRAWPCIDEVPORT pPort,244 int32_t iRegion,245 246 247 248 243 static DECLCALLBACK(int) vboxPciDevGetRegionInfo(PRAWPCIDEVPORT pPort, 244 int32_t iRegion, 245 RTHCPHYS *pRegionStart, 246 uint64_t *pu64RegionSize, 247 bool *pfPresent, 248 uint32_t *pfFlags) 249 249 { 250 250 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 264 264 * @copydoc RAWPCIDEVPORT:: pfnMapRegion 265 265 */ 266 DECLHIDDEN(int) vboxPciDevMapRegion(PRAWPCIDEVPORT pPort,267 int32_t iRegion,268 269 270 271 266 static DECLCALLBACK(int) vboxPciDevMapRegion(PRAWPCIDEVPORT pPort, 267 int32_t iRegion, 268 RTHCPHYS RegionStart, 269 uint64_t u64RegionSize, 270 int32_t fFlags, 271 RTR0PTR *pRegionBase) 272 272 { 273 273 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 286 286 * @copydoc RAWPCIDEVPORT:: pfnUnapRegion 287 287 */ 288 DECLHIDDEN(int) vboxPciDevUnmapRegion(PRAWPCIDEVPORT pPort,289 int32_t iRegion,290 291 292 288 static DECLCALLBACK(int) vboxPciDevUnmapRegion(PRAWPCIDEVPORT pPort, 289 int32_t iRegion, 290 RTHCPHYS RegionStart, 291 uint64_t u64RegionSize, 292 RTR0PTR RegionBase) 293 293 { 294 294 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 307 307 * @copydoc RAWPCIDEVPORT:: pfnPciCfgRead 308 308 */ 309 DECLHIDDEN(int) vboxPciDevPciCfgRead(PRAWPCIDEVPORT pPort, uint32_t Register, PCIRAWMEMLOC*pValue)309 static DECLCALLBACK(int) vboxPciDevPciCfgRead(PRAWPCIDEVPORT pPort, uint32_t Register, PCIRAWMEMLOC *pValue) 310 310 { 311 311 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 325 325 * @copydoc RAWPCIDEVPORT:: pfnPciCfgWrite 326 326 */ 327 DECLHIDDEN(int) vboxPciDevPciCfgWrite(PRAWPCIDEVPORT pPort, uint32_t Register, PCIRAWMEMLOC *pValue)327 static DECLCALLBACK(int) vboxPciDevPciCfgWrite(PRAWPCIDEVPORT pPort, uint32_t Register, PCIRAWMEMLOC *pValue) 328 328 { 329 329 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 339 339 } 340 340 341 DECLHIDDEN(int) vboxPciDevRegisterIrqHandler(PRAWPCIDEVPORT pPort, PFNRAWPCIISR pfnHandler, void* pIrqContext, PCIRAWISRHANDLE *phIsr)341 static DECLCALLBACK(int) vboxPciDevRegisterIrqHandler(PRAWPCIDEVPORT pPort, PFNRAWPCIISR pfnHandler, void* pIrqContext, PCIRAWISRHANDLE *phIsr) 342 342 { 343 343 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 371 371 } 372 372 373 DECLHIDDEN(int) vboxPciDevUnregisterIrqHandler(PRAWPCIDEVPORT pPort, PCIRAWISRHANDLE hIsr)373 static DECLCALLBACK(int) vboxPciDevUnregisterIrqHandler(PRAWPCIDEVPORT pPort, PCIRAWISRHANDLE hIsr) 374 374 { 375 375 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 393 393 } 394 394 395 DECLHIDDEN(int) vboxPciDevPowerStateChange(PRAWPCIDEVPORT pPort, PCIRAWPOWERSTATE aState, uint64_t *pu64Param)395 static DECLCALLBACK(int) vboxPciDevPowerStateChange(PRAWPCIDEVPORT pPort, PCIRAWPOWERSTATE aState, uint64_t *pu64Param) 396 396 { 397 397 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort);
Note:
See TracChangeset
for help on using the changeset viewer.