Searched refs:cenv (Results 1 – 3 of 3) sorted by relevance
/external/qemu/target-i386/ |
D | helper.c | 1468 void cpu_inject_x86_mce(CPUState *cenv, int bank, uint64_t status, in cpu_inject_x86_mce() argument 1471 uint64_t mcg_cap = cenv->mcg_cap; in cpu_inject_x86_mce() 1473 uint64_t *banks = cenv->mce_banks; in cpu_inject_x86_mce() 1483 cenv->mcg_ctl != ~(uint64_t)0) in cpu_inject_x86_mce() 1493 if ((cenv->mcg_status & MCG_STATUS_MCIP) || in cpu_inject_x86_mce() 1494 !(cenv->cr[4] & CR4_MCE_MASK)) { in cpu_inject_x86_mce() 1505 cenv->mcg_status = mcg_status; in cpu_inject_x86_mce() 1507 cpu_interrupt(cenv, CPU_INTERRUPT_MCE); in cpu_inject_x86_mce() 1520 static void mce_init(CPUX86State *cenv) in mce_init() argument 1524 if (((cenv->cpuid_version >> 8)&0xf) >= 6 in mce_init() [all …]
|
/external/qemu/ |
D | monitor.c | 112 CPUState *cenv; in do_inject_mce() local 118 for (cenv = first_cpu; cenv != NULL; cenv = cenv->next_cpu) in do_inject_mce() 119 if (cenv->cpu_index == cpu_index && cenv->mcg_cap) { in do_inject_mce() 120 cpu_inject_x86_mce(cenv, bank, status, mcg_status, addr, misc); in do_inject_mce()
|
D | cpu-all.h | 1041 void cpu_inject_x86_mce(CPUState *cenv, int bank, uint64_t status,
|