Home
last modified time | relevance | path

Searched refs:CR4_PKE_MASK (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/target/i386/tcg/
H A Dmisc_helper.c106 if ((env->cr[4] & CR4_PKE_MASK) == 0) { in helper_rdpkru()
120 if ((env->cr[4] & CR4_PKE_MASK) == 0) { in helper_wrpkru()
H A Dseg_helper.c118 if (env->cr[4] & CR4_PKE_MASK) { in get_pg_mode()
/openbmc/qemu/target/i386/
H A Dcpu.h261 #define CR4_PKE_MASK (1U << 22) macro
278 | CR4_SMEP_MASK | CR4_SMAP_MASK | CR4_PKE_MASK | CR4_PKS_MASK \
2724 reserved_bits |= CR4_PKE_MASK; in cr4_reserved_bits()
H A Dhelper.c220 new_cr4 &= ~CR4_PKE_MASK; in cpu_x86_update_cr4()
H A Dcpu.c6659 if ((*ecx & CPUID_7_0_ECX_PKU) && env->cr[4] & CR4_PKE_MASK) { in cpu_x86_cpuid()