Changeset 40920 in vbox
- Timestamp:
- Apr 14, 2012 11:51:38 AM (13 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDM.cpp
r40652 r40920 367 367 */ 368 368 pVM->pdm.s.GCPhysVMMDevHeap = NIL_RTGCPHYS; 369 //pVM->pdm.s.idTracingDev = 0; 370 pVM->pdm.s.idTracingOther = 1024; 369 371 370 372 /* -
trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp
r40274 r40920 315 315 */ 316 316 pDevIns->u32Version = PDM_DEVINS_VERSION; 317 pDevIns->iInstance = paDevs[i].iInstance; 317 318 //pDevIns->Internal.s.pNextR3 = NULL; 318 319 //pDevIns->Internal.s.pPerDeviceNextR3 = NULL; … … 330 331 //pDevIns->Internal.s.pPciBusRC = 0; 331 332 pDevIns->Internal.s.fIntFlags = PDMDEVINSINT_FLAGS_SUSPENDED; 333 //pDevIns->Internal.s.uLastIrqTag = 0; 332 334 pDevIns->pHlpR3 = fTrusted ? &g_pdmR3DevHlpTrusted : &g_pdmR3DevHlpUnTrusted; 333 335 pDevIns->pHlpRC = pHlpRC; … … 335 337 pDevIns->pReg = paDevs[i].pDev->pReg; 336 338 pDevIns->pCfg = pConfigNode; 337 pDevIns->iInstance = paDevs[i].iInstance; 339 //pDevIns->IBase.pfnQueryInterface = NULL; 340 //pDevIns->fTracing = 0; 341 pDevIns->idTracing = ++pVM->pdm.s.idTracingDev; 338 342 pDevIns->pvInstanceDataR3 = &pDevIns->achInstanceData[0]; 339 343 pDevIns->pvInstanceDataRC = pDevIns->pReg->fFlags & PDM_DEVREG_FLAGS_RC -
trunk/src/VBox/VMM/VMMR3/PDMDriver.cpp
r40652 r40920 691 691 */ 692 692 pNew->u32Version = PDM_DRVINS_VERSION; 693 pNew->iInstance = pDrv->iNextInstance; 693 694 pNew->Internal.s.pUp = pDrvAbove ? pDrvAbove : NULL; 694 695 //pNew->Internal.s.pDown = NULL; … … 706 707 pNew->pReg = pDrv->pReg; 707 708 pNew->pCfg = pConfigNode; 708 pNew->iInstance = pDrv->iNextInstance;709 709 pNew->pUpBase = pBaseInterface; 710 710 Assert(!pDrvAbove || pBaseInterface == &pDrvAbove->IBase); 711 711 //pNew->pDownBase = NULL; 712 712 //pNew->IBase.pfnQueryInterface = NULL; 713 //pNew->fTracing = 0; 714 pNew->idTracing = ++pVM->pdm.s.idTracingOther; 713 715 pNew->pHlpR3 = &g_pdmR3DrvHlp; 714 716 pNew->pvInstanceDataR3 = &pNew->achInstanceData[0]; -
trunk/src/VBox/VMM/VMMR3/PDMUsb.cpp
r39839 r40920 577 577 pUsbIns->pvInstanceDataR3 = &pUsbIns->achInstanceData[0]; 578 578 pUsbIns->pszName = RTStrDup(pUsbDev->pReg->szName); 579 //pUsbIns->fTracing = 0; 580 pUsbIns->idTracing = ++pVM->pdm.s.idTracingOther; 579 581 580 582 /* -
trunk/src/VBox/VMM/include/PDMInternal.h
r40907 r40920 1015 1015 * See PDM_QUEUE_FLUSH_FLAG_ACTIVE and PDM_QUEUE_FLUSH_FLAG_PENDING. */ 1016 1016 uint32_t volatile fQueueFlushing; 1017 1017 1018 /** The current IRQ tag (tracing purposes). */ 1018 uint32_t uIrqTag; 1019 uint32_t volatile uIrqTag; 1020 1021 /** The tracing ID of the next device instance. 1022 * 1023 * @remarks We keep the device tracing ID seperate from the rest as these are 1024 * then more likely to end up with the same ID from one run to 1025 * another, making analysis somewhat easier. Drivers and USB devices 1026 * are more volatile and can be changed at runtime, thus these are much 1027 * less likely to remain stable, so just heap them all together. */ 1028 uint32_t idTracingDev; 1029 /** The tracing ID of the next driver instance, USB device instance or other 1030 * PDM entity requiring an ID. */ 1031 uint32_t idTracingOther; 1019 1032 1020 1033 /** @name VMM device heap
Note:
See TracChangeset
for help on using the changeset viewer.