Home
last modified time | relevance | path

Searched refs:CR0_PE_MASK (Results 1 – 7 of 7) sorted by relevance

/external/qemu/target-i386/
Dcpu.h191 #define CR0_PE_MASK (1 << 0) macro
752 } else if (!(env->cr[0] & CR0_PE_MASK) || in cpu_x86_load_seg_cache()
Dhax-all.c758 if (env->cr[0] & CR0_PE_MASK) { in hax_set_segments()
791 hflags |= (env->cr[0] & CR0_PE_MASK) << (HF_PE_SHIFT - CR0_PE_SHIFT); in hax_setup_qemu_emulator()
809 if (!(env->cr[0] & CR0_PE_MASK) || in hax_setup_qemu_emulator()
Dkvm.c410 if (env->cr[0] & CR0_PE_MASK) { in kvm_put_sregs()
544 hflags |= (env->cr[0] & CR0_PE_MASK) << (HF_PE_SHIFT - CR0_PE_SHIFT); in kvm_get_sregs()
562 if (!(env->cr[0] & CR0_PE_MASK) || in kvm_get_sregs()
Dhelper.c875 if ((new_cr0 & (CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK)) != in cpu_x86_update_cr0()
876 (env->cr[0] & (CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK))) { in cpu_x86_update_cr0()
900 pe_state = (env->cr[0] & CR0_PE_MASK); in cpu_x86_update_cr0()
Dop_helper.c1071 if (!(env->cr[0] & CR0_PE_MASK) || cpl != 0) { in helper_sysret()
1224 if ((env->cr[0] & CR0_PE_MASK)) { in do_interrupt()
1254 if (env->cr[0] & CR0_PE_MASK) { in do_interrupt()
1510 env->cr[0] & ~(CR0_PE_MASK | CR0_EM_MASK | CR0_TS_MASK | CR0_PG_MASK)); in do_smm_enter()
5369 … cpu_x86_update_cr0(env, ldq_phys(env->vm_hsave + offsetof(struct vmcb, save.cr0)) | CR0_PE_MASK); in helper_vmexit()
5419 env->cr[0] |= CR0_PE_MASK; in helper_vmexit()
/external/qemu/
Dkqemu.c837 if (!(env->cr[0] & CR0_PE_MASK) || in kqemu_cpu_exec()
Dcpu-exec.c761 if (!(env->cr[0] & CR0_PE_MASK) || (env->eflags & VM_MASK)) { in cpu_x86_load_seg()