Changeset 526 in vbox for trunk/src/VBox
- Timestamp:
- Feb 2, 2007 12:43:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMInternal.h
r161 r526 79 79 /** Pointer to the VM this instance was created for - HC Ptr. */ 80 80 HCPTRTYPE(PVM) pVMHC; 81 /** Pointer to the list of logical units associated with the device. (FIFO) */ 82 HCPTRTYPE(PPDMLUN) pLunsHC; 83 /** Configuration handle to the instance node. */ 84 HCPTRTYPE(PCFGMNODE) pCfgHandle; 85 /** HC pointer to associated PCI device structure. */ 86 HCPTRTYPE(struct PCIDevice *) pPciDeviceHC; 87 /** HC pointer to associated PCI bus structure. */ 88 HCPTRTYPE(PPDMPCIBUS) pPciBusHC; 89 90 /** GC pointer to associated PCI device structure. */ 91 GCPTRTYPE(struct PCIDevice *) pPciDeviceGC; 81 92 /** Pointer to the VM this instance was created for - GC Ptr. */ 82 93 GCPTRTYPE(PVM) pVMGC; 83 84 /** Pointer to the list of logical units associated with the device. (FIFO) */85 HCPTRTYPE(PPDMLUN) pLunsHC;86 87 /** Configuration handle to the instance node. */88 HCPTRTYPE(PCFGMNODE) pCfgHandle;89 90 /** HC pointer to associated PCI device structure. */91 HCPTRTYPE(struct PCIDevice *) pPciDeviceHC;92 /** GC pointer to associated PCI device structure. */93 GCPTRTYPE(struct PCIDevice *) pPciDeviceGC;94 /** HC pointer to associated PCI bus structure. */95 HCPTRTYPE(PPDMPCIBUS) pPciBusHC;96 94 /** GC pointer to associated PCI bus structure. */ 97 95 GCPTRTYPE(PPDMPCIBUS) pPciBusGC; 96 #if GC_ARCH_BITS == 32 97 uint32_t Alignment0; 98 #endif 98 99 } PDMDEVINSINT; 99 100 … … 480 481 /** Pointer to the next queue in the list. */ 481 482 HCPTRTYPE(PPDMQUEUE) pNext; 482 /** Queue type. */483 PDMQUEUETYPE enmType;484 483 /** Type specific data. */ 485 484 union … … 516 515 } Ext; 517 516 } u; 518 /** Pointer to the VM. */ 519 HCPTRTYPE(PVM) pVMHC; 520 /** Pointer to the GC VM and indicator for GC enabled queue. 521 * If this is NULL, the queue cannot be used in GC. 522 */ 523 GCPTRTYPE(PVM) pVMGC; 517 /** Queue type. */ 518 PDMQUEUETYPE enmType; 524 519 /** The interval between checking the queue for events. 525 520 * The realtime timer below is used to do the waiting. … … 528 523 /** Interval timer. Only used if cMilliesInterval is non-zero. */ 529 524 PTMTIMERHC pTimer; 525 /** Pointer to the VM. */ 526 HCPTRTYPE(PVM) pVMHC; 527 /** LIFO of pending items - HC. */ 528 HCPTRTYPE(PPDMQUEUEITEMCORE) volatile pPendingHC; 529 /** Pointer to the GC VM and indicator for GC enabled queue. 530 * If this is NULL, the queue cannot be used in GC. 531 */ 532 GCPTRTYPE(PVM) pVMGC; 533 /** LIFO of pending items - GC. */ 534 GCPTRTYPE(PPDMQUEUEITEMCORE) pPendingGC; 530 535 /** Item size (bytes). */ 531 536 RTUINT cbItem; 532 537 /** Number of items in the queue. */ 533 538 RTUINT cItems; 534 /** LIFO of pending items - HC. */535 HCPTRTYPE(PPDMQUEUEITEMCORE) volatile pPendingHC;536 /** LIFO of pending items - GC. */537 GCPTRTYPE(PPDMQUEUEITEMCORE) pPendingGC;538 539 /** Index to the free head (where we insert). */ 539 540 uint32_t volatile iFreeHead; … … 547 548 /** Pointer to the free item - GC Ptr. */ 548 549 GCPTRTYPE(PPDMQUEUEITEMCORE) volatile pItemGC; 550 #if HC_ARCH_BITS == 64 && GC_ARCH_BITS == 32 551 uint32_t Alignment0; 552 #endif 549 553 } aFreeItems[1]; 550 554 } PDMQUEUE; … … 579 583 /** This operation to perform. */ 580 584 PDMDEVHLPTASKOP enmOp; 585 #if HC_ARCH_BITS == 64 586 uint32_t Alignment0; 587 #endif 581 588 /** Parameters to the operation. */ 582 589 union PDMDEVHLPTASKPARAMS
Note:
See TracChangeset
for help on using the changeset viewer.