Searched refs:new_cr4 (Results 1 – 3 of 3) sorted by relevance
182 void cpu_x86_update_cr4(CPUX86State *env, uint32_t new_cr4) in cpu_x86_update_cr4() argument187 printf("CR4 update: %08x -> %08x\n", (uint32_t)env->cr[4], new_cr4); in cpu_x86_update_cr4()189 if ((new_cr4 ^ env->cr[4]) & in cpu_x86_update_cr4()200 new_cr4 &= ~CR4_OSFXSR_MASK; in cpu_x86_update_cr4()202 if (new_cr4 & CR4_OSFXSR_MASK) { in cpu_x86_update_cr4()207 new_cr4 &= ~CR4_SMAP_MASK; in cpu_x86_update_cr4()209 if (new_cr4 & CR4_SMAP_MASK) { in cpu_x86_update_cr4()213 new_cr4 &= ~CR4_UMIP_MASK; in cpu_x86_update_cr4()215 if (new_cr4 & CR4_UMIP_MASK) { in cpu_x86_update_cr4()220 new_cr4 &= ~CR4_PKE_MASK; in cpu_x86_update_cr4()[all …]
2469 void cpu_x86_update_cr4(CPUX86State *env, uint32_t new_cr4);
165 uint64_t new_cr4; in helper_vmrun() local321 new_cr4 = x86_ldq_phys(cs, env->vm_vmcb + offsetof(struct vmcb, save.cr4)); in helper_vmrun()322 if (new_cr4 & cr4_reserved_bits(env)) { in helper_vmrun()330 cpu_x86_update_cr4(env, new_cr4); in helper_vmrun()