Lines Matching refs:uCpl
2754 uint32_t uCpl;
2760 uCpl = pVCpu->cpum.s.Guest.ss.Attr.n.u2Dpl;
2763 uCpl = (pVCpu->cpum.s.Guest.ss.Sel & X86_SEL_RPL);
2768 if ( uCpl == 2
2770 uCpl = 1;
2771 else if (uCpl == 1)
2772 uCpl = 0;
2774 Assert(uCpl != 2); /* ring 2 support not allowed anymore. */
2776 if (uCpl == 1)
2777 uCpl = 0;
2783 uCpl = 3; /* V86 has CPL=3; REM doesn't set DPL=3 in V8086 mode. See @bugref{5130}. */
2786 uCpl = 0; /* Real mode is zero; CPL set to 3 for VT-x real-mode emulation. */
2787 return uCpl;