Lines Matching refs:pCtxCore
176 * @param pCtxCore The context core (for trap usage).
181 VMMDECL(void) CPUMRCRecheckRawState(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore)
186 if ( pCtxCore->ss.Sel
187 && (pCtxCore->ss.Sel & X86_SEL_RPL) == 0
188 && !pCtxCore->eflags.Bits.u1VM)
193 pCtxCore->ss.Sel |= 1;
194 if ( pCtxCore->cs.Sel
195 && (pCtxCore->cs.Sel & X86_SEL_RPL) == 0)
196 pCtxCore->cs.Sel |= 1;
201 && !pCtxCore->eflags.Bits.u1VM
202 && (pCtxCore->ss.Sel & X86_SEL_RPL) == 1)
205 pCtxCore->ss.Sel = (pCtxCore->ss.Sel & ~X86_SEL_RPL) | 2;
206 if (pCtxCore->cs.Sel && (pCtxCore->cs.Sel & X86_SEL_RPL) == 1)
207 pCtxCore->cs.Sel = (pCtxCore->cs.Sel & ~X86_SEL_RPL) | 2;
214 AssertMsg((pCtxCore->eflags.u32 & X86_EFL_IF), ("X86_EFL_IF is clear\n"));
215 AssertReleaseMsg(pCtxCore->eflags.Bits.u2IOPL == 0,
216 ("X86_EFL_IOPL=%d CPL=%d\n", pCtxCore->eflags.Bits.u2IOPL, pCtxCore->ss.Sel & X86_SEL_RPL));
218 pCtxCore->eflags.u32 |= X86_EFL_IF; /* paranoia */