VirtualBox

Changeset 45850 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Apr 30, 2013 6:18:41 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: nits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r45849 r45850  
    21062106
    21072107    /* Note: VT-x is picky about the RPL of the selectors here; we'll restore them manually. */
     2108    uSelTR = ASMGetTR();
     2109
     2110    /* Verification based on Intel spec. 26.2.3 "Checks on Host Segment and Descriptor-Table Registers"  */
    21082111    /** @todo Verify if we have any platform that actually run with DS or ES with
    21092112     *        RPL != 0 in kernel space. */
    2110     uSelDS = 0;
    2111     uSelES = 0;
    2112     uSelFS = 0;
    2113     uSelGS = 0;
    2114     uSelTR = ASMGetTR();
    2115 
    2116     /* Verification based on Intel spec. 26.2.3 "Checks on Host Segment and Descriptor-Table Registers"  */
    21172113    Assert(!(uSelCS & X86_SEL_RPL)); Assert(!(uSelCS & X86_SEL_LDT));
    21182114    Assert(!(uSelSS & X86_SEL_RPL)); Assert(!(uSelSS & X86_SEL_LDT));
     
    89278923}
    89288924
    8929 
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