Changeset 81336 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Oct 18, 2019 1:03:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IOMInternal.h
r81333 r81336 328 328 /** The number of bytes covered by this entry. */ 329 329 RTGCPHYS cbRegion; 330 /** The current mapping address (duplicates lookup table). */ 331 RTGCPHYS GCPhysMapping; 330 /** The current mapping address (duplicates lookup table). 331 * This is set to NIL_RTGCPHYS if not mapped (exclusive lock + atomic). */ 332 RTGCPHYS volatile GCPhysMapping; 332 333 /** Pointer to user argument. */ 333 334 RTR3PTR pvUser; … … 352 353 uint16_t idxStats; 353 354 /** Set if mapped, clear if not. 354 * Only updated when critsect is held exclusively. */ 355 bool fMapped; 355 * Only updated when critsect is held exclusively. 356 * @todo remove as GCPhysMapping != NIL_RTGCPHYS serves the same purpose. */ 357 bool volatile fMapped; 356 358 /** Set if there is an ring-0 entry too. */ 357 359 bool fRing0; … … 631 633 /** I/O port registration index for the last write string operation. */ 632 634 uint16_t idxIoPortLastWriteStr; 633 uint32_t u32Padding; 635 636 /** MMIO port registration index for the last IOMR3MmioPhysHandler call. 637 * @note pretty static as only used by APIC on AMD-V. */ 638 uint16_t idxMmioLastPhysHandler; 639 uint16_t u16Padding; 634 640 635 641 R3PTRTYPE(PIOMIOPORTRANGER3) pRangeLastReadR3; … … 739 745 /** @name MMIO statistics. 740 746 * @{ */ 747 STAMCOUNTER StatRZMMIOStaleMappings; 741 748 STAMPROFILE StatRZMMIOHandler; 742 749 STAMCOUNTER StatRZMMIOReadsToR3;
Note:
See TracChangeset
for help on using the changeset viewer.