Changeset 36678 in vbox for trunk/src/VBox/HostDrivers/VBoxPci
- Timestamp:
- Apr 15, 2011 9:24:13 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71177
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c
r36665 r36678 190 190 191 191 vboxPciDevLock(pThis); 192 192 193 193 if (pThis->IrqHandler.pfnIrqHandler) 194 194 { … … 243 243 static DECLCALLBACK(int) vboxPciDevGetRegionInfo(PRAWPCIDEVPORT pPort, 244 244 int32_t iRegion, 245 246 247 245 RTHCPHYS *pRegionStart, 246 uint64_t *pu64RegionSize, 247 bool *pfPresent, 248 248 uint32_t *pfFlags) 249 249 { … … 266 266 static DECLCALLBACK(int) vboxPciDevMapRegion(PRAWPCIDEVPORT pPort, 267 267 int32_t iRegion, 268 269 268 RTHCPHYS RegionStart, 269 uint64_t u64RegionSize, 270 270 int32_t fFlags, 271 271 RTR0PTR *pRegionBase) … … 288 288 static DECLCALLBACK(int) vboxPciDevUnmapRegion(PRAWPCIDEVPORT pPort, 289 289 int32_t iRegion, 290 291 290 RTHCPHYS RegionStart, 291 uint64_t u64RegionSize, 292 292 RTR0PTR RegionBase) 293 293 { … … 307 307 * @copydoc RAWPCIDEVPORT:: pfnPciCfgRead 308 308 */ 309 static DECLCALLBACK(int) vboxPciDevPciCfgRead(PRAWPCIDEVPORT pPort, uint32_t Register, PCIRAWMEMLOC *pValue) 309 static DECLCALLBACK(int) vboxPciDevPciCfgRead(PRAWPCIDEVPORT pPort, 310 uint32_t Register, 311 PCIRAWMEMLOC *pValue) 310 312 { 311 313 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 325 327 * @copydoc RAWPCIDEVPORT:: pfnPciCfgWrite 326 328 */ 327 static DECLCALLBACK(int) vboxPciDevPciCfgWrite(PRAWPCIDEVPORT pPort, uint32_t Register, PCIRAWMEMLOC *pValue) 329 static DECLCALLBACK(int) vboxPciDevPciCfgWrite(PRAWPCIDEVPORT pPort, 330 uint32_t Register, 331 PCIRAWMEMLOC *pValue) 328 332 { 329 333 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 339 343 } 340 344 341 static DECLCALLBACK(int) vboxPciDevRegisterIrqHandler(PRAWPCIDEVPORT pPort, PFNRAWPCIISR pfnHandler, void* pIrqContext, PCIRAWISRHANDLE *phIsr) 345 static DECLCALLBACK(int) vboxPciDevRegisterIrqHandler(PRAWPCIDEVPORT pPort, 346 PFNRAWPCIISR pfnHandler, 347 void* pIrqContext, 348 PCIRAWISRHANDLE *phIsr) 342 349 { 343 350 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); 344 351 int rc; 345 int32_t iHostIrq = 0; 352 int32_t iHostIrq = 0; 346 353 347 354 if (pfnHandler == NULL) … … 365 372 } 366 373 } 367 368 vboxPciDevUnlock(pThis); 369 370 return rc; 371 } 372 373 static DECLCALLBACK(int) vboxPciDevUnregisterIrqHandler(PRAWPCIDEVPORT pPort, PCIRAWISRHANDLE hIsr) 374 375 vboxPciDevUnlock(pThis); 376 377 return rc; 378 } 379 380 static DECLCALLBACK(int) vboxPciDevUnregisterIrqHandler(PRAWPCIDEVPORT pPort, 381 PCIRAWISRHANDLE hIsr) 374 382 { 375 383 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 393 401 } 394 402 395 static DECLCALLBACK(int) vboxPciDevPowerStateChange(PRAWPCIDEVPORT pPort, PCIRAWPOWERSTATE aState, uint64_t *pu64Param) 403 static DECLCALLBACK(int) vboxPciDevPowerStateChange(PRAWPCIDEVPORT pPort, 404 PCIRAWPOWERSTATE aState, 405 uint64_t *pu64Param) 396 406 { 397 407 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort);
Note:
See TracChangeset
for help on using the changeset viewer.