Changeset 37423 in vbox for trunk/src/VBox/HostDrivers/VBoxPci
- Timestamp:
- Jun 12, 2011 6:37:56 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72222
- Location:
- trunk/src/VBox/HostDrivers/VBoxPci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c
r36717 r37423 74 74 return NULL; 75 75 } 76 DECLINLINE(int) vboxPciDevLock(PVBOXRAWPCIINS pThis, 76 DECLINLINE(int) vboxPciDevLock(PVBOXRAWPCIINS pThis, 77 77 PRTSPINLOCKTMP pTmp) 78 78 { … … 80 80 RTSpinlockAcquireNoInts(pThis->hSpinlock, pTmp); 81 81 return VINF_SUCCESS; 82 #else 82 #else 83 83 int rc = RTSemFastMutexRequest(pThis->hFastMtx); 84 84 … … 261 261 uint64_t *pu64RegionSize, 262 262 bool *pfPresent, 263 263 uint32_t *pfFlags) 264 264 { 265 265 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 284 284 RTHCPHYS RegionStart, 285 285 uint64_t u64RegionSize, 286 287 286 int32_t fFlags, 287 RTR0PTR *pRegionBase) 288 288 { 289 289 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 307 307 RTHCPHYS RegionStart, 308 308 uint64_t u64RegionSize, 309 309 RTR0PTR RegionBase) 310 310 { 311 311 PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort); … … 325 325 * @copydoc RAWPCIDEVPORT:: pfnPciCfgRead 326 326 */ 327 static DECLCALLBACK(int) vboxPciDevPciCfgRead(PRAWPCIDEVPORT pPort, 328 uint32_t Register, 327 static DECLCALLBACK(int) vboxPciDevPciCfgRead(PRAWPCIDEVPORT pPort, 328 uint32_t Register, 329 329 PCIRAWMEMLOC *pValue) 330 330 { … … 345 345 * @copydoc RAWPCIDEVPORT:: pfnPciCfgWrite 346 346 */ 347 static DECLCALLBACK(int) vboxPciDevPciCfgWrite(PRAWPCIDEVPORT pPort, 348 uint32_t Register, 347 static DECLCALLBACK(int) vboxPciDevPciCfgWrite(PRAWPCIDEVPORT pPort, 348 uint32_t Register, 349 349 PCIRAWMEMLOC *pValue) 350 350 { … … 362 362 } 363 363 364 static DECLCALLBACK(int) vboxPciDevRegisterIrqHandler(PRAWPCIDEVPORT pPort, 365 PFNRAWPCIISR pfnHandler, 366 void* pIrqContext, 364 static DECLCALLBACK(int) vboxPciDevRegisterIrqHandler(PRAWPCIDEVPORT pPort, 365 PFNRAWPCIISR pfnHandler, 366 void* pIrqContext, 367 367 PCIRAWISRHANDLE *phIsr) 368 368 { … … 398 398 } 399 399 400 static DECLCALLBACK(int) vboxPciDevUnregisterIrqHandler(PRAWPCIDEVPORT pPort, 400 static DECLCALLBACK(int) vboxPciDevUnregisterIrqHandler(PRAWPCIDEVPORT pPort, 401 401 PCIRAWISRHANDLE hIsr) 402 402 { … … 422 422 } 423 423 424 static DECLCALLBACK(int) vboxPciDevPowerStateChange(PRAWPCIDEVPORT pPort, 425 PCIRAWPOWERSTATE aState, 424 static DECLCALLBACK(int) vboxPciDevPowerStateChange(PRAWPCIDEVPORT pPort, 425 PCIRAWPOWERSTATE aState, 426 426 uint64_t *pu64Param) 427 427 { -
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h
r37009 r37423 44 44 typedef struct VBOXRAWPCIINS *PVBOXRAWPCIINS; 45 45 46 typedef struct VBOXRAWPCIISRDESC 46 typedef struct VBOXRAWPCIISRDESC 47 47 { 48 48 /** Handler function. */
Note:
See TracChangeset
for help on using the changeset viewer.