Home
last modified time | relevance | path

Searched refs:bndcsr (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/target/i386/tcg/
H A Dmpx_helper.c38 uint64_t bndcsr, bde, bt; in lookup_bte64() local
41 bndcsr = env->bndcs_regs.cfgu; in lookup_bte64()
43 bndcsr = env->msr_bndcfgs; in lookup_bte64()
46 bde = (extract64(base, 20, 28) << 3) + (extract64(bndcsr, 20, 44) << 12); in lookup_bte64()
58 uint32_t bndcsr, bde, bt; in lookup_bte32() local
61 bndcsr = env->bndcs_regs.cfgu; in lookup_bte32()
63 bndcsr = env->msr_bndcfgs; in lookup_bte32()
66 bde = (extract32(base, 12, 20) << 2) + (bndcsr & TARGET_PAGE_MASK); in lookup_bte32()
H A Dfpu_helper.c2657 access_stq(ac, ptr + offsetof(XSaveBNDCSR, bndcsr.cfgu), in do_xsave_bndcsr()
2659 access_stq(ac, ptr + offsetof(XSaveBNDCSR, bndcsr.sts), in do_xsave_bndcsr()
2907 = access_ldq(ac, ptr + offsetof(XSaveBNDCSR, bndcsr.cfgu)); in do_xrstor_bndcsr()
2909 = access_ldq(ac, ptr + offsetof(XSaveBNDCSR, bndcsr.sts)); in do_xrstor_bndcsr()
/openbmc/qemu/target/i386/
H A Dxsave_helper.c69 XSaveBNDCSR *bndcsr; in x86_cpu_xsave_all_areas() local
76 bndcsr = buf + f->offset; in x86_cpu_xsave_all_areas()
80 bndcsr->bndcsr = env->bndcs_regs; in x86_cpu_xsave_all_areas()
202 const XSaveBNDCSR *bndcsr; in x86_cpu_xrstor_all_areas() local
209 bndcsr = buf + f->offset; in x86_cpu_xrstor_all_areas()
213 env->bndcs_regs = bndcsr->bndcsr; in x86_cpu_xrstor_all_areas()
H A Dhelper.c50 uint32_t bndcsr; in cpu_sync_bndcs_hflags() local
53 bndcsr = env->bndcs_regs.cfgu; in cpu_sync_bndcs_hflags()
55 bndcsr = env->msr_bndcfgs; in cpu_sync_bndcs_hflags()
60 && (bndcsr & BNDCFG_ENABLE)) { in cpu_sync_bndcs_hflags()
66 if (bndcsr & BNDCFG_BNDPRESERVE) { in cpu_sync_bndcs_hflags()
H A Dcpu.h1586 BNDCSReg bndcsr; member
/openbmc/linux/arch/x86/include/asm/fpu/
H A Dtypes.h216 struct mpx_bndcsr bndcsr; member