Home
last modified time | relevance | path

Searched refs:R_ECX (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/qemu/target/i386/tcg/sysemu/
H A Dmisc_helper.c141 switch ((uint32_t)env->regs[R_ECX]) { in helper_wrmsr()
238 env->mtrr_var[((uint32_t)env->regs[R_ECX] - in helper_wrmsr()
249 env->mtrr_var[((uint32_t)env->regs[R_ECX] - in helper_wrmsr()
253 env->mtrr_fixed[(uint32_t)env->regs[R_ECX] - in helper_wrmsr()
258 env->mtrr_fixed[(uint32_t)env->regs[R_ECX] - in helper_wrmsr()
269 env->mtrr_fixed[(uint32_t)env->regs[R_ECX] - in helper_wrmsr()
298 int index = (uint32_t)env->regs[R_ECX] - MSR_APIC_START; in helper_wrmsr()
310 if ((uint32_t)env->regs[R_ECX] >= MSR_MC0_CTL in helper_wrmsr()
311 && (uint32_t)env->regs[R_ECX] < MSR_MC0_CTL + in helper_wrmsr()
313 uint32_t offset = (uint32_t)env->regs[R_ECX] - MSR_MC0_CTL; in helper_wrmsr()
[all …]
H A Dsmm_helper.c89 x86_stq_phys(cs, sm_state + 0x7ff0, env->regs[R_ECX]); in do_smm_enter()
121 x86_stl_phys(cs, sm_state + 0x7fd4, env->regs[R_ECX]); in do_smm_enter()
223 env->regs[R_ECX] = x86_ldq_phys(cs, sm_state + 0x7ff0); in helper_rsm()
269 env->regs[R_ECX] = x86_ldl_phys(cs, sm_state + 0x7fd4); in helper_rsm()
H A Dseg_helper.c42 env->regs[R_ECX] = env->eip + next_eip_addend; in helper_syscall()
68 env->regs[R_ECX] = (uint32_t)(env->eip + next_eip_addend); in helper_syscall()
H A Dsvm_helper.c670 switch ((uint32_t)env->regs[R_ECX]) { in cpu_svm_check_intercept_param()
672 t0 = (env->regs[R_ECX] * 2) % 8; in cpu_svm_check_intercept_param()
673 t1 = (env->regs[R_ECX] * 2) / 8; in cpu_svm_check_intercept_param()
676 t0 = (8192 + env->regs[R_ECX] - 0xc0000000) * 2; in cpu_svm_check_intercept_param()
681 t0 = (16384 + env->regs[R_ECX] - 0xc0010000) * 2; in cpu_svm_check_intercept_param()
/openbmc/u-boot/arch/x86/lib/
H A Dbios_interrupts.c43 M.x86.R_ECX = 0x0607; in int10_handler()
127 M.x86.R_ECX = 0xff; in int1a_handler()
132 devid = M.x86.R_ECX; in int1a_handler()
178 M.x86.R_ECX = byte; in int1a_handler()
182 M.x86.R_ECX = word; in int1a_handler()
186 M.x86.R_ECX = dword; in int1a_handler()
189 byte = M.x86.R_ECX; in int1a_handler()
193 word = M.x86.R_ECX; in int1a_handler()
197 dword = M.x86.R_ECX; in int1a_handler()
203 bus, devfn, reg, M.x86.R_ECX); in int1a_handler()
H A Dbios.c61 .ecx = M.x86.R_ECX, in int_exception_handler()
313 M.x86.R_ECX = ecx; in interrupt_handler()
337 *(volatile u32 *)&ecx = M.x86.R_ECX; in interrupt_handler()
/openbmc/u-boot/drivers/bios_emulator/
H A Dbios.c204 && (u8) (M.x86.R_ECX >> 16) == baseclass) {
208 (u8) (M.x86.R_ECX >> 16) ==
263 M.x86.R_DI, &M.x86.R_ECX);
266 M.x86.R_DI, &M.x86.R_ECX);
269 M.x86.R_ECX =
321 M.x86.R_DI, M.x86.R_ECX);
324 M.x86.R_DI, M.x86.R_ECX);
327 PCI_accessReg(M.x86.R_DI, M.x86.R_ECX, PCI_WRITE_DWORD,
H A Dbiosemu.c251 M.x86.R_ECX = regs->e.ecx; in BE_callRealMode()
277 regs->e.ecx = M.x86.R_ECX; in BE_callRealMode()
302 M.x86.R_ECX = in->e.ecx; in BE_int86()
319 out->e.ecx = M.x86.R_ECX; in BE_int86()
342 M.x86.R_ECX = in->e.ecx; in BE_int86x()
363 out->e.ecx = M.x86.R_ECX; in BE_int86x()
/openbmc/qemu/hw/i386/
H A Dvmport.c114 command = env->regs[R_ECX]; in vmport_ioport_read()
166 cpu->env.regs[R_ECX] = port_state->vmware_vmx_type; in vmport_cmd_get_version()
178 cpu->env.regs[R_ECX] = le32_to_cpu(uuid_parts[2]); in vmport_cmd_get_bios_uuid()
201 cpu->env.regs[R_ECX] = cpu->env.apic_bus_freq; in vmport_cmd_get_hz()
H A Dvmmouse.c81 data[2] = env->regs[R_ECX]; data[3] = env->regs[R_EDX]; in vmmouse_get_data()
91 env->regs[R_ECX] = data[2]; env->regs[R_EDX] = data[3]; in vmmouse_set_data()
/openbmc/qemu/target/i386/hvf/
H A Dx86.h202 #define RCX(cpu) RRX(cpu, R_ECX)
220 #define ECX(cpu) ERX(cpu, R_ECX)
230 #define CX(cpu) RX(cpu, R_ECX)
240 #define CL(cpu) RL(cpu, R_ECX)
246 #define CH(cpu) RH(cpu, R_ECX)
H A Dx86_cpuid.c172 case R_ECX: in hvf_get_supported_cpuid()
/openbmc/u-boot/drivers/bios_emulator/x86emu/
H A Ddecode.c657 return &M.x86.R_ECX; in decode_rm_long_register()
752 return M.x86.R_ECX * index; in decode_sib_si()
803 offset = M.x86.R_ECX; in decode_sib_address()
889 return M.x86.R_ECX; in decode_rm00_address()
974 return M.x86.R_ECX + displacement; in decode_rm01_address()
1063 return M.x86.R_ECX + displacement; in decode_rm10_address()
/openbmc/qemu/target/i386/tcg/
H A Dmisc_helper.c56 cpu_x86_cpuid(env, (uint32_t)env->regs[R_EAX], (uint32_t)env->regs[R_ECX], in helper_cpuid()
60 env->regs[R_ECX] = ecx; in helper_cpuid()
/openbmc/qemu/linux-user/i386/
H A Dsignal.c363 __put_user(env->regs[R_ECX], &sc->ecx); in setup_sigcontext()
384 __put_user(env->regs[R_ECX], &sc->rcx); in setup_sigcontext()
498 env->regs[R_ECX] = 0; in setup_frame()
581 env->regs[R_ECX] = frame_addr + offsetof(struct rt_sigframe, uc); in setup_rt_frame()
582 __put_user(env->regs[R_ECX], &frame->puc); in setup_rt_frame()
731 env->regs[R_ECX] = tswapl(sc->ecx); in restore_sigcontext()
751 env->regs[R_ECX] = tswapl(sc->rcx); in restore_sigcontext()
H A Dcpu_loop.c229 env->regs[R_ECX], in cpu_loop()
368 env->regs[R_ECX] = regs->rcx; in target_cpu_copy_regs()
378 env->regs[R_ECX] = regs->ecx; in target_cpu_copy_regs()
/openbmc/linux/tools/arch/x86/kcpuid/
H A Dkcpuid.c40 R_ECX, enumerator
364 reg_index = R_ECX; in parse_line()
489 decode_bits(leaf->ecx, &leaf->info[R_ECX], R_ECX); in show_leaf()
/openbmc/qemu/linux-user/
H A Dvm86.c62 target_v86->regs.ecx = tswap32(env->regs[R_ECX]); in save_v86_state()
84 env->regs[R_ECX] = ts->vm86_saved_regs.ecx; in save_v86_state()
222 ts->vm86_saved_regs.ecx = env->regs[R_ECX]; in do_vm86()
262 env->regs[R_ECX] = tswap32(target_v86->regs.ecx); in do_vm86()
/openbmc/qemu/bsd-user/x86_64/
H A Dtarget_arch_cpu.h54 env->regs[R_ECX] = regs->rcx; in target_cpu_init()
134 env->regs[R_ECX], in target_cpu_loop()
H A Dtarget_arch_reg.h77 regs->r_rcx = env->regs[R_ECX]; in target_copy_regs()
/openbmc/qemu/bsd-user/i386/
H A Dtarget_arch_reg.h67 regs->r_ecx = env->regs[R_ECX]; in target_copy_regs()
H A Dtarget_arch_cpu.h45 env->regs[R_ECX] = regs->ecx; in target_cpu_init()
/openbmc/qemu/target/i386/
H A Darch_dump.c67 regs.rcx = env->regs[R_ECX]; in x86_64_write_elf64_note()
134 prstatus->regs.ecx = env->regs[R_ECX] & 0xffffffff; in x86_fill_elf_prstatus()
289 s->rcx = env->regs[R_ECX]; in qemu_get_cpustate()
H A Dcpu-dump.c361 env->regs[R_ECX], in x86_cpu_dump_state()
396 (uint32_t)env->regs[R_ECX], in x86_cpu_dump_state()
/openbmc/qemu/dump/
H A Dwin_dump.c327 .Rcx = env->regs[R_ECX], in patch_and_save_context()
368 .Ecx = env->regs[R_ECX], in patch_and_save_context()

12