Changeset 10523 in vbox for trunk/src/VBox
- Timestamp:
- Jul 11, 2008 1:17:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r10154 r10523 1818 1818 uint32_t cpl; 1819 1819 1820 /*1821 * The hidden CS.DPL register is always equal to the CPL, it is1822 * not affected by loading a conforming coding segment.1823 */1824 1820 if (CPUMAreHiddenSelRegsValid(pVM)) 1825 cpl = pCtxCore->csHid.Attr.n.u2Dpl; 1821 { 1822 /* 1823 * The hidden CS.DPL register is always equal to the CPL, it is 1824 * not affected by loading a conforming coding segment. 1825 * 1826 * This only seems to apply to AMD-V; in the VT-x case we *do* need to look at SS. (ACP2 regression during install after a far call to ring 2) 1827 */ 1828 cpl = pCtxCore->ssHid.Attr.n.u2Dpl; 1829 } 1826 1830 else if (RT_LIKELY(pVM->cpum.s.Guest.cr0 & X86_CR0_PE)) 1827 1831 {
Note:
See TracChangeset
for help on using the changeset viewer.