VirtualBox

Changeset 41277 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
May 14, 2012 10:15:38 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77937
Message:

VMM/VMMR0/HWSVMR0: AMD FlushByASID feature. Flush before reusing ASIDs when enabling SVM. Cleaned up code a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hwacc_svm.h

    r36566 r41277  
    410410
    411411
     412/** @name SVM_VMCB.ctrl.TLBCtrl.n.u8TLBFlush
     413 * @{
     414 */
     415/** Flush nothing. */
     416#define SVM_TLB_FLUSH_NOTHING                           0
     417/** Flush entire TLB (host+guest entries) */
     418#define SVM_TLB_FLUSH_ENTIRE                            1
     419/** Flush this guest's TLB entries (by ASID) */
     420#define SVM_TLB_FLUSH_SINGLE_CONTEXT                    3
     421/** Flush this guest's non-global TLB entries (by ASID) */
     422#define SVM_TLB_FLUSH_SINGLE_CONTEXT_RETAIN_GLOBALS     7
     423/** @} */
    412424
    413425
     
    493505    {
    494506        uint32_t    u32ASID             : 32;
    495         uint32_t    u1TLBFlush          : 1;
    496         uint32_t    u7Reserved          : 7;
     507        uint32_t    u8TLBFlush          : 8;
    497508        uint32_t    u24Reserved         : 24;
    498509    } n;
Note: See TracChangeset for help on using the changeset viewer.

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