Searched refs:HF_CPL_MASK (Results 1 – 8 of 8) sorted by relevance
141 cpl = env->hflags & HF_CPL_MASK; in tss_load_seg()556 cpl = env->hflags & HF_CPL_MASK; in do_interrupt_protected()757 cpl = env->hflags & HF_CPL_MASK; in do_interrupt64()909 cpl = env->hflags & HF_CPL_MASK; in helper_sysret()1016 cpl = env->hflags & HF_CPL_MASK; in do_interrupt_user()1065 env->hflags & HF_CPL_MASK, in do_interrupt_all()1334 cpl = env->hflags & HF_CPL_MASK; in helper_load_seg()1416 cpl = env->hflags & HF_CPL_MASK; in helper_ljmp_protected()1446 cpl = env->hflags & HF_CPL_MASK; in helper_ljmp_protected()1539 cpl = env->hflags & HF_CPL_MASK; in helper_lcall_protected()[all …]
160 #define HF_CPL_MASK (3 << HF_CPL_SHIFT) macro933 #if HF_CPL_MASK == 3 in cpu_x86_set_cpl()934 s->hflags = (s->hflags & ~HF_CPL_MASK) | cpl; in cpu_x86_set_cpl()936 #error HF_CPL_MASK is hardcoded in cpu_x86_set_cpl()1034 return (env->hflags & HF_CPL_MASK) == 3 ? 1 : 0; in cpu_mmu_index()
225 if ((env->cr[4] & CR4_TSD_MASK) && ((env->hflags & HF_CPL_MASK) != 0)) { in helper_rdtsc()237 if ((env->cr[4] & CR4_PCE_MASK) && ((env->hflags & HF_CPL_MASK) != 0)) { in helper_rdpmc()
787 HF_CPL_MASK | HF_PE_MASK | HF_MP_MASK | HF_EM_MASK | \ in hax_setup_qemu_emulator()794 hflags = (env->segs[R_CS].flags >> DESC_DPL_SHIFT) & HF_CPL_MASK; in hax_setup_qemu_emulator()
539 HF_CPL_MASK | HF_PE_MASK | HF_MP_MASK | HF_EM_MASK | \ in kvm_get_sregs()546 hflags = (env->segs[R_CS].flags >> DESC_DPL_SHIFT) & HF_CPL_MASK; in kvm_get_sregs()
1097 || (env->hflags & HF_CPL_MASK) in helper_fxsave()1142 || (env->hflags & HF_CPL_MASK) in helper_fxrstor()
705 env->hflags & HF_CPL_MASK, in cpu_dump_state()732 env->hflags & HF_CPL_MASK, in cpu_dump_state()
536 stb_phys(env->vm_vmcb + offsetof(struct vmcb, save.cpl), env->hflags & HF_CPL_MASK); in helper_vmexit()