/dports/emulators/qemu-utils/qemu-4.2.1/target/i386/ |
H A D | mpx_helper.c | 37 uint64_t bndcsr, bde, bt; in lookup_bte64() local 40 bndcsr = env->bndcs_regs.cfgu; in lookup_bte64() 42 bndcsr = env->msr_bndcfgs; in lookup_bte64() 45 bde = (extract64(base, 20, 28) << 3) + (extract64(bndcsr, 20, 44) << 12); in lookup_bte64() 57 uint32_t bndcsr, bde, bt; in lookup_bte32() local 60 bndcsr = env->bndcs_regs.cfgu; in lookup_bte32() 62 bndcsr = env->msr_bndcfgs; in lookup_bte32() 65 bde = (extract32(base, 12, 20) << 2) + (bndcsr & TARGET_PAGE_MASK); in lookup_bte32()
|
H A D | xsave_helper.c | 36 xsave->bndcsr_state.bndcsr = env->bndcs_regs; in x86_cpu_xsave_all_areas() 88 env->bndcs_regs = xsave->bndcsr_state.bndcsr; in x86_cpu_xrstor_all_areas()
|
/dports/emulators/qemu5/qemu-5.2.0/target/i386/ |
H A D | mpx_helper.c | 37 uint64_t bndcsr, bde, bt; in lookup_bte64() local 40 bndcsr = env->bndcs_regs.cfgu; in lookup_bte64() 42 bndcsr = env->msr_bndcfgs; in lookup_bte64() 45 bde = (extract64(base, 20, 28) << 3) + (extract64(bndcsr, 20, 44) << 12); in lookup_bte64() 57 uint32_t bndcsr, bde, bt; in lookup_bte32() local 60 bndcsr = env->bndcs_regs.cfgu; in lookup_bte32() 62 bndcsr = env->msr_bndcfgs; in lookup_bte32() 65 bde = (extract32(base, 12, 20) << 2) + (bndcsr & TARGET_PAGE_MASK); in lookup_bte32()
|
H A D | xsave_helper.c | 36 xsave->bndcsr_state.bndcsr = env->bndcs_regs; in x86_cpu_xsave_all_areas() 88 env->bndcs_regs = xsave->bndcsr_state.bndcsr; in x86_cpu_xrstor_all_areas()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/target/i386/ |
H A D | mpx_helper.c | 37 uint64_t bndcsr, bde, bt; in lookup_bte64() local 40 bndcsr = env->bndcs_regs.cfgu; in lookup_bte64() 42 bndcsr = env->msr_bndcfgs; in lookup_bte64() 45 bde = (extract64(base, 20, 28) << 3) + (extract64(bndcsr, 20, 44) << 12); in lookup_bte64() 57 uint32_t bndcsr, bde, bt; in lookup_bte32() local 60 bndcsr = env->bndcs_regs.cfgu; in lookup_bte32() 62 bndcsr = env->msr_bndcfgs; in lookup_bte32() 65 bde = (extract32(base, 12, 20) << 2) + (bndcsr & TARGET_PAGE_MASK); in lookup_bte32()
|
H A D | xsave_helper.c | 36 xsave->bndcsr_state.bndcsr = env->bndcs_regs; in x86_cpu_xsave_all_areas() 88 env->bndcs_regs = xsave->bndcsr_state.bndcsr; in x86_cpu_xrstor_all_areas()
|
/dports/emulators/qemu42/qemu-4.2.1/target/i386/ |
H A D | mpx_helper.c | 37 uint64_t bndcsr, bde, bt; in lookup_bte64() local 40 bndcsr = env->bndcs_regs.cfgu; in lookup_bte64() 42 bndcsr = env->msr_bndcfgs; in lookup_bte64() 45 bde = (extract64(base, 20, 28) << 3) + (extract64(bndcsr, 20, 44) << 12); in lookup_bte64() 57 uint32_t bndcsr, bde, bt; in lookup_bte32() local 60 bndcsr = env->bndcs_regs.cfgu; in lookup_bte32() 62 bndcsr = env->msr_bndcfgs; in lookup_bte32() 65 bde = (extract32(base, 12, 20) << 2) + (bndcsr & TARGET_PAGE_MASK); in lookup_bte32()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/target/i386/ |
H A D | mpx_helper.c | 37 uint64_t bndcsr, bde, bt; in lookup_bte64() local 40 bndcsr = env->bndcs_regs.cfgu; in lookup_bte64() 42 bndcsr = env->msr_bndcfgs; in lookup_bte64() 45 bde = (extract64(base, 20, 28) << 3) + (extract64(bndcsr, 20, 44) << 12); in lookup_bte64() 57 uint32_t bndcsr, bde, bt; in lookup_bte32() local 60 bndcsr = env->bndcs_regs.cfgu; in lookup_bte32() 62 bndcsr = env->msr_bndcfgs; in lookup_bte32() 65 bde = (extract32(base, 12, 20) << 2) + (bndcsr & TARGET_PAGE_MASK); in lookup_bte32()
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/target/i386/ |
H A D | mpx_helper.c | 37 uint64_t bndcsr, bde, bt; in lookup_bte64() local 40 bndcsr = env->bndcs_regs.cfgu; in lookup_bte64() 42 bndcsr = env->msr_bndcfgs; in lookup_bte64() 45 bde = (extract64(base, 20, 28) << 3) + (extract64(bndcsr, 20, 44) << 12); in lookup_bte64() 57 uint32_t bndcsr, bde, bt; in lookup_bte32() local 60 bndcsr = env->bndcs_regs.cfgu; in lookup_bte32() 62 bndcsr = env->msr_bndcfgs; in lookup_bte32() 65 bde = (extract32(base, 12, 20) << 2) + (bndcsr & TARGET_PAGE_MASK); in lookup_bte32()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/i386/tcg/ |
H A D | mpx_helper.c | 38 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()
|
/dports/emulators/qemu/qemu-6.2.0/target/i386/tcg/ |
H A D | mpx_helper.c | 38 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()
|
/dports/emulators/qemu60/qemu-6.0.0/target/i386/tcg/ |
H A D | mpx_helper.c | 38 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()
|
/dports/lang/gcc8/gcc-8.5.0/libmpx/mpxrt/ |
H A D | mpxrt.c | 83 struct bndcsr_struct bndcsr; member 134 return xsave_buf->bndcsr.status_reg; in read_mpx_status_sig() 374 xsave_buf->bndcsr.cfg_reg_u = (unsigned long)l1base; in enable_mpx() 375 xsave_buf->bndcsr.cfg_reg_u |= enable << MPX_ENABLE_BIT_NO; in enable_mpx() 376 xsave_buf->bndcsr.cfg_reg_u |= bndpreserve << BNDPRESERVE_BIT_NO; in enable_mpx() 377 xsave_buf->bndcsr.status_reg = 0; in enable_mpx() 393 xsave_buf->bndcsr.cfg_reg_u = 0; in disable_mpx() 394 xsave_buf->bndcsr.status_reg = 0; in disable_mpx()
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libmpx/mpxrt/ |
H A D | mpxrt.c | 83 struct bndcsr_struct bndcsr; member 134 return xsave_buf->bndcsr.status_reg; in read_mpx_status_sig() 374 xsave_buf->bndcsr.cfg_reg_u = (unsigned long)l1base; in enable_mpx() 375 xsave_buf->bndcsr.cfg_reg_u |= enable << MPX_ENABLE_BIT_NO; in enable_mpx() 376 xsave_buf->bndcsr.cfg_reg_u |= bndpreserve << BNDPRESERVE_BIT_NO; in enable_mpx() 377 xsave_buf->bndcsr.status_reg = 0; in enable_mpx() 393 xsave_buf->bndcsr.cfg_reg_u = 0; in disable_mpx() 394 xsave_buf->bndcsr.status_reg = 0; in disable_mpx()
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libmpx/mpxrt/ |
H A D | mpxrt.c | 83 struct bndcsr_struct bndcsr; member 134 return xsave_buf->bndcsr.status_reg; in read_mpx_status_sig() 374 xsave_buf->bndcsr.cfg_reg_u = (unsigned long)l1base; in enable_mpx() 375 xsave_buf->bndcsr.cfg_reg_u |= enable << MPX_ENABLE_BIT_NO; in enable_mpx() 376 xsave_buf->bndcsr.cfg_reg_u |= bndpreserve << BNDPRESERVE_BIT_NO; in enable_mpx() 377 xsave_buf->bndcsr.status_reg = 0; in enable_mpx() 393 xsave_buf->bndcsr.cfg_reg_u = 0; in disable_mpx() 394 xsave_buf->bndcsr.status_reg = 0; in disable_mpx()
|
/dports/lang/gnat_util/gcc-6-20180516/libmpx/mpxrt/ |
H A D | mpxrt.c | 83 struct bndcsr_struct bndcsr; member 134 return xsave_buf->bndcsr.status_reg; in read_mpx_status_sig() 374 xsave_buf->bndcsr.cfg_reg_u = (unsigned long)l1base; in enable_mpx() 375 xsave_buf->bndcsr.cfg_reg_u |= enable << MPX_ENABLE_BIT_NO; in enable_mpx() 376 xsave_buf->bndcsr.cfg_reg_u |= bndpreserve << BNDPRESERVE_BIT_NO; in enable_mpx() 377 xsave_buf->bndcsr.status_reg = 0; in enable_mpx() 393 xsave_buf->bndcsr.cfg_reg_u = 0; in disable_mpx() 394 xsave_buf->bndcsr.status_reg = 0; in disable_mpx()
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libmpx/mpxrt/ |
H A D | mpxrt.c | 83 struct bndcsr_struct bndcsr; member 134 return xsave_buf->bndcsr.status_reg; in read_mpx_status_sig() 374 xsave_buf->bndcsr.cfg_reg_u = (unsigned long)l1base; in enable_mpx() 375 xsave_buf->bndcsr.cfg_reg_u |= enable << MPX_ENABLE_BIT_NO; in enable_mpx() 376 xsave_buf->bndcsr.cfg_reg_u |= bndpreserve << BNDPRESERVE_BIT_NO; in enable_mpx() 377 xsave_buf->bndcsr.status_reg = 0; in enable_mpx() 393 xsave_buf->bndcsr.cfg_reg_u = 0; in disable_mpx() 394 xsave_buf->bndcsr.status_reg = 0; in disable_mpx()
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libmpx/mpxrt/ |
H A D | mpxrt.c | 83 struct bndcsr_struct bndcsr; member 134 return xsave_buf->bndcsr.status_reg; in read_mpx_status_sig() 374 xsave_buf->bndcsr.cfg_reg_u = (unsigned long)l1base; in enable_mpx() 375 xsave_buf->bndcsr.cfg_reg_u |= enable << MPX_ENABLE_BIT_NO; in enable_mpx() 376 xsave_buf->bndcsr.cfg_reg_u |= bndpreserve << BNDPRESERVE_BIT_NO; in enable_mpx() 377 xsave_buf->bndcsr.status_reg = 0; in enable_mpx() 393 xsave_buf->bndcsr.cfg_reg_u = 0; in disable_mpx() 394 xsave_buf->bndcsr.status_reg = 0; in disable_mpx()
|
/dports/lang/gcc6-aux/gcc-6-20180516/libmpx/mpxrt/ |
H A D | mpxrt.c | 83 struct bndcsr_struct bndcsr; member 134 return xsave_buf->bndcsr.status_reg; in read_mpx_status_sig() 374 xsave_buf->bndcsr.cfg_reg_u = (unsigned long)l1base; in enable_mpx() 375 xsave_buf->bndcsr.cfg_reg_u |= enable << MPX_ENABLE_BIT_NO; in enable_mpx() 376 xsave_buf->bndcsr.cfg_reg_u |= bndpreserve << BNDPRESERVE_BIT_NO; in enable_mpx() 377 xsave_buf->bndcsr.status_reg = 0; in enable_mpx() 393 xsave_buf->bndcsr.cfg_reg_u = 0; in disable_mpx() 394 xsave_buf->bndcsr.status_reg = 0; in disable_mpx()
|
/dports/devel/riscv64-gcc/gcc-8.3.0/libmpx/mpxrt/ |
H A D | mpxrt.c | 83 struct bndcsr_struct bndcsr; member 134 return xsave_buf->bndcsr.status_reg; in read_mpx_status_sig() 374 xsave_buf->bndcsr.cfg_reg_u = (unsigned long)l1base; in enable_mpx() 375 xsave_buf->bndcsr.cfg_reg_u |= enable << MPX_ENABLE_BIT_NO; in enable_mpx() 376 xsave_buf->bndcsr.cfg_reg_u |= bndpreserve << BNDPRESERVE_BIT_NO; in enable_mpx() 377 xsave_buf->bndcsr.status_reg = 0; in enable_mpx() 393 xsave_buf->bndcsr.cfg_reg_u = 0; in disable_mpx() 394 xsave_buf->bndcsr.status_reg = 0; in disable_mpx()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/i386/ |
H A D | xsave_helper.c | 69 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() 188 const XSaveBNDCSR *bndcsr; in x86_cpu_xrstor_all_areas() local 195 bndcsr = buf + f->offset; in x86_cpu_xrstor_all_areas() 199 env->bndcs_regs = bndcsr->bndcsr; in x86_cpu_xrstor_all_areas()
|
H A D | helper.c | 35 uint32_t bndcsr; in cpu_sync_bndcs_hflags() local 38 bndcsr = env->bndcs_regs.cfgu; in cpu_sync_bndcs_hflags() 40 bndcsr = env->msr_bndcfgs; in cpu_sync_bndcs_hflags() 45 && (bndcsr & BNDCFG_ENABLE)) { in cpu_sync_bndcs_hflags() 51 if (bndcsr & BNDCFG_BNDPRESERVE) { in cpu_sync_bndcs_hflags()
|
/dports/emulators/qemu/qemu-6.2.0/target/i386/ |
H A D | xsave_helper.c | 69 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() 188 const XSaveBNDCSR *bndcsr; in x86_cpu_xrstor_all_areas() local 195 bndcsr = buf + f->offset; in x86_cpu_xrstor_all_areas() 199 env->bndcs_regs = bndcsr->bndcsr; in x86_cpu_xrstor_all_areas()
|
H A D | helper.c | 35 uint32_t bndcsr; in cpu_sync_bndcs_hflags() local 38 bndcsr = env->bndcs_regs.cfgu; in cpu_sync_bndcs_hflags() 40 bndcsr = env->msr_bndcfgs; in cpu_sync_bndcs_hflags() 45 && (bndcsr & BNDCFG_ENABLE)) { in cpu_sync_bndcs_hflags() 51 if (bndcsr & BNDCFG_BNDPRESERVE) { in cpu_sync_bndcs_hflags()
|
/dports/emulators/qemu60/qemu-6.0.0/target/i386/ |
H A D | helper.c | 35 uint32_t bndcsr; in cpu_sync_bndcs_hflags() local 38 bndcsr = env->bndcs_regs.cfgu; in cpu_sync_bndcs_hflags() 40 bndcsr = env->msr_bndcfgs; in cpu_sync_bndcs_hflags() 45 && (bndcsr & BNDCFG_ENABLE)) { in cpu_sync_bndcs_hflags() 51 if (bndcsr & BNDCFG_BNDPRESERVE) { in cpu_sync_bndcs_hflags()
|