VirtualBox

Changeset 81336 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Oct 18, 2019 1:03:10 AM (5 years ago)
Author:
vboxsync
Message:

IOM: Implemented the IOMMMIO_FLAGS_ABS flag (or rather the absence of it). bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IOMInternal.h

    r81333 r81336  
    328328    /** The number of bytes covered by this entry. */
    329329    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;
    332333    /** Pointer to user argument. */
    333334    RTR3PTR                             pvUser;
     
    352353    uint16_t                            idxStats;
    353354    /** 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;
    356358    /** Set if there is an ring-0 entry too. */
    357359    bool                                fRing0;
     
    631633    /** I/O port registration index for the last write string operation. */
    632634    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;
    634640
    635641    R3PTRTYPE(PIOMIOPORTRANGER3)    pRangeLastReadR3;
     
    739745    /** @name MMIO statistics.
    740746     * @{ */
     747    STAMCOUNTER                     StatRZMMIOStaleMappings;
    741748    STAMPROFILE                     StatRZMMIOHandler;
    742749    STAMCOUNTER                     StatRZMMIOReadsToR3;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette