Changeset 38816 in vbox for trunk/src/VBox
- Timestamp:
- Sep 21, 2011 1:50:57 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 74111
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r37136 r38816 2341 2341 * This only seems to apply to AMD-V; in the VT-x case we *do* need to look 2342 2342 * at SS. (ACP2 regression during install after a far call to ring 2) 2343 * 2344 * Seems it isn't necessiarly true for newer AMD-V CPUs even, we have 2345 * to move the VMCB.guest.u8CPL into Attr.n.u2Dpl to make this (and 2346 * other) code work right. So, forget CS.DPL, always use SS.DPL. 2343 2347 */ 2344 2348 if (RT_LIKELY(pVCpu->cpum.s.Guest.cr0 & X86_CR0_PE)) -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r38684 r38816 863 863 864 864 /* Set CPL */ 865 pVMCB->guest.u8CPL = pCtx-> csHid.Attr.n.u2Dpl;865 pVMCB->guest.u8CPL = pCtx->ssHid.Attr.n.u2Dpl; 866 866 867 867 /* RAX/EAX too, as VMRUN uses RAX as an implicit parameter. */ … … 1092 1092 * Note! Interrupts must be disabled done *before* we check for TLB flushes; TLB 1093 1093 * shootdowns rely on this. 1094 */ 1094 */ 1095 1095 uOldEFlags = ASMIntDisableFlags(); 1096 1096 if (RTThreadPreemptIsPending(NIL_RTTHREAD))
Note:
See TracChangeset
for help on using the changeset viewer.