Home
last modified time | relevance | path

Searched refs:cenv (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dtimebase_helper.c72 CPUPPCState *cenv = &POWERPC_CPU(ccs)->env; in helper_store_purr() local
73 cpu_ppc_store_purr(cenv, val); in helper_store_purr()
90 CPUPPCState *cenv = &POWERPC_CPU(ccs)->env; in helper_store_tbl() local
91 cpu_ppc_store_tbl(cenv, val); in helper_store_tbl()
106 CPUPPCState *cenv = &POWERPC_CPU(ccs)->env; in helper_store_tbu() local
107 cpu_ppc_store_tbu(cenv, val); in helper_store_tbu()
147 CPUPPCState *cenv = &POWERPC_CPU(ccs)->env; in helper_store_hdecr() local
148 cpu_ppc_store_hdecr(cenv, val); in helper_store_hdecr()
163 CPUPPCState *cenv = &POWERPC_CPU(ccs)->env; in helper_store_vtb() local
164 cpu_ppc_store_vtb(cenv, val); in helper_store_vtb()
[all …]
H A Dmisc_helper.c58 CPUPPCState *cenv = &POWERPC_CPU(ccs)->env; in helper_spr_core_write_generic() local
59 cenv->spr[sprn] = val; in helper_spr_core_write_generic()
80 CPUPPCState *cenv = &POWERPC_CPU(ccs)->env; in helper_spr_write_CTRL() local
82 cenv->spr[sprn] &= ts_mask; in helper_spr_write_CTRL()
83 cenv->spr[sprn] |= ts; in helper_spr_write_CTRL()
205 CPUPPCState *cenv = &ccpu->env; in helper_store_ptcr() local
206 cenv->spr[SPR_PTCR] = val; in helper_store_ptcr()
259 CPUPPCState *cenv = &ccpu->env; in helper_load_dpdes() local
262 if (cenv->pending_interrupts & PPC_INTERRUPT_DOORBELL) { in helper_load_dpdes()
H A Dkvm.c183 CPUPPCState *cenv = &cpu->env; in kvm_arch_sync_sregs() local
188 if (cenv->excp_model == POWERPC_EXCP_BOOKE) { in kvm_arch_sync_sregs()
209 sregs.pvr = cenv->spr[SPR_PVR]; in kvm_arch_sync_sregs()
467 static void kvmppc_hw_debug_points_init(CPUPPCState *cenv) in kvmppc_hw_debug_points_init() argument
469 if (cenv->excp_model == POWERPC_EXCP_BOOKE) { in kvmppc_hw_debug_points_init()
483 CPUPPCState *cenv = &cpu->env; in kvm_arch_init_vcpu() local
496 switch (cenv->mmu_model) { in kvm_arch_init_vcpu()
519 kvmppc_hw_debug_points_init(cenv); in kvm_arch_init_vcpu()
H A Dexcp_helper.c2993 CPUPPCState *cenv = &cpu->env; in helper_msgsnd() local
2995 if ((rb & DBELL_BRDCAST_MASK) || (cenv->spr[SPR_BOOKE_PIR] == pir)) { in helper_msgsnd()
/openbmc/qemu/target/i386/
H A Dhelper.c385 CPUX86State *cenv = &cpu->env; in do_inject_x86_mce() local
386 uint64_t *banks = cenv->mce_banks + 4 * params->bank; in do_inject_x86_mce()
393 recursive = !!(cenv->mcg_status & MCG_STATUS_MCIP); in do_inject_x86_mce()
409 if ((cenv->mcg_cap & MCG_CTL_P) && cenv->mcg_ctl != ~(uint64_t)0) { in do_inject_x86_mce()
428 if (!(cenv->cr[4] & CR4_MCE_MASK)) { in do_inject_x86_mce()
452 cenv->mcg_status = params->mcg_status; in do_inject_x86_mce()
475 CPUX86State *cenv = &cpu->env; in cpu_x86_inject_mce() local
485 unsigned bank_num = cenv->mcg_cap & 0xff; in cpu_x86_inject_mce()
487 if (!cenv->mcg_cap) { in cpu_x86_inject_mce()
500 && !cpu_x86_support_mca_broadcast(cenv)) { in cpu_x86_inject_mce()
H A Dcpu.c7369 CPUX86State *cenv = &cpu->env; in mce_init() local
7372 if (((cenv->cpuid_version >> 8) & 0xf) >= 6 in mce_init()
7373 && (cenv->features[FEAT_1_EDX] & (CPUID_MCE | CPUID_MCA)) == in mce_init()
7375 cenv->mcg_cap = MCE_CAP_DEF | MCE_BANKS_DEF | in mce_init()
7377 cenv->mcg_ctl = ~(uint64_t)0; in mce_init()
7379 cenv->mce_banks[bank * 4] = ~(uint64_t)0; in mce_init()
/openbmc/qemu/hw/xtensa/
H A Dxtfpga.c246 CPUXtensaState *cenv = NULL; in xtfpga_init() local
249 cenv = &cpu->env; in xtfpga_init()
251 env = cenv; in xtfpga_init()
259 xtensa_get_extints(cenv), in xtfpga_init()
260 xtensa_get_runstall(cenv)); in xtfpga_init()
261 memory_region_add_subregion(xtensa_get_er_region(cenv), in xtfpga_init()
264 cenv->sregs[PRID] = n; in xtfpga_init()
265 xtensa_select_static_vectors(cenv, n != 0); in xtfpga_init()
/openbmc/linux/tools/testing/selftests/timens/
H A Dexec.c68 char *cenv[] = {NULL}; in main() local
80 execve("/proc/self/exe", cargv, cenv); in main()
H A Dvfork_exec.c116 char *cenv[] = {NULL}; in main() local
120 execve("/proc/self/exe", cargv, cenv); in main()