VirtualBox

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


Ignore:
Timestamp:
Jul 9, 2012 6:04:54 AM (13 years ago)
Author:
vboxsync
Message:

VMM/HWVMXR0: Fix for acquiring/signaling new ASIDs during host CPU suspend/resumes.

File:
1 edited

Legend:

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

    r42025 r42044  
    149149    /** TLB flush count. */
    150150    uint32_t            cTLBFlushes;
    151 
    152151    /** Whether to flush each new ASID/VPID before use. */
    153152    bool                fFlushASIDBeforeUse;
    154 
    155153    /** Configured for VT-x or AMD-V. */
    156154    bool                fConfigured;
    157 
    158155    /** Set if the VBOX_HWVIRTEX_IGNORE_SVM_IN_USE hack is active. */
    159156    bool                fIgnoreAMDVInUseError;
    160 
    161157    /** In use by our code. (for power suspend) */
    162158    volatile bool       fInUse;
     159    /** Toggle bit for signaling new ASIDs (during suspend/resume)  */
     160    bool                fASIDState;
    163161} HMGLOBLCPUINFO;
    164162/** Pointer to the per-cpu global information. */
     
    548546    bool                        fForceTLBFlush;
    549547
     548    /** Toggle bit for acquiring a new ASID (during host CPU suspend/resume) */
     549    bool                        fASIDState;
     550
    550551    /** Set when we're using VT-x or AMD-V at that moment. */
    551552    bool                        fActive;
     
    553554    /** Set when the TLB has been checked until we return from the world switch. */
    554555    volatile bool               fCheckedTLBFlush;
    555     uint8_t                     bAlignment[3];
     556    uint8_t                     bAlignment[2];
    556557
    557558    /** World switch exit counter. */
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