Searched refs:new_cr0 (Results 1 – 2 of 2) sorted by relevance
868 void cpu_x86_update_cr0(CPUX86State *env, uint32_t new_cr0) in cpu_x86_update_cr0() argument873 printf("CR0 update: CR0=0x%08x\n", new_cr0); in cpu_x86_update_cr0()875 if ((new_cr0 & (CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK)) != in cpu_x86_update_cr0()881 if (!(env->cr[0] & CR0_PG_MASK) && (new_cr0 & CR0_PG_MASK) && in cpu_x86_update_cr0()889 } else if ((env->cr[0] & CR0_PG_MASK) && !(new_cr0 & CR0_PG_MASK) && in cpu_x86_update_cr0()897 env->cr[0] = new_cr0 | CR0_ET_MASK; in cpu_x86_update_cr0()906 ((new_cr0 << (HF_MP_SHIFT - 1)) & (HF_MP_MASK | HF_EM_MASK | HF_TS_MASK)); in cpu_x86_update_cr0()
829 void cpu_x86_update_cr0(CPUX86State *env, uint32_t new_cr0);