Home
last modified time | relevance | path

Searched refs:ecx (Results 1 – 25 of 61) sorted by relevance

123

/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dcar.S51 movl $MSR_IA32_UCODE_WRITE, %ecx
66 movzx %bx, %ecx
74 movl $MTRR_DEF_TYPE_MSR, %ecx
81 movl $(MTRR_PHYS_BASE_MSR(0)), %ecx
88 movl $(MTRR_PHYS_MASK_MSR(0)), %ecx
96 movl $MTRR_DEF_TYPE_MSR, %ecx
108 movl $NOEVICTMOD_MSR, %ecx
117 movl $(CACHE_AS_RAM_SIZE / 4), %ecx
122 movl $NOEVICTMOD_MSR, %ecx
134 movl $MTRR_PHYS_BASE_MSR(1), %ecx
[all …]
H A Dreport_platform.c33 aes = (cpuidr.ecx & (1 << 25)) ? 1 : 0; in report_cpu_info()
34 txt = (cpuidr.ecx & (1 << 6)) ? 1 : 0; in report_cpu_info()
35 vt = (cpuidr.ecx & (1 << 5)) ? 1 : 0; in report_cpu_info()
/openbmc/qemu/target/i386/hvf/
H A Dx86_cpuid.c62 uint32_t eax, ebx, ecx, edx; in hvf_get_supported_cpuid() local
65 host_cpuid(func, idx, &eax, &ebx, &ecx, &edx); in hvf_get_supported_cpuid()
77 ecx &= CPUID_EXT_SSE3 | CPUID_EXT_PCLMULQDQ | CPUID_EXT_SSSE3 | in hvf_get_supported_cpuid()
83 ecx |= CPUID_EXT_HYPERVISOR; in hvf_get_supported_cpuid()
88 ecx = 0; in hvf_get_supported_cpuid()
111 ecx &= CPUID_7_0_ECX_AVX512_VBMI | CPUID_7_0_ECX_AVX512_VPOPCNTDQ | in hvf_get_supported_cpuid()
116 ecx = 0; in hvf_get_supported_cpuid()
124 eax = ebx = ecx = edx = 0; in hvf_get_supported_cpuid()
154 ecx &= CPUID_EXT3_LAHF_LM | CPUID_EXT3_CMP_LEG | CPUID_EXT3_CR8LEG | in hvf_get_supported_cpuid()
161 eax = ebx = ecx = 0; in hvf_get_supported_cpuid()
[all …]
/openbmc/u-boot/arch/x86/include/asm/
H A Dcpu.h63 uint32_t ecx; member
80 "=c" (result.ecx), in cpuid()
90 static inline struct cpuid_result cpuid_ext(int op, unsigned ecx) in cpuid_ext() argument
100 "=c" (result.ecx), in cpuid_ext()
102 : "0" (op), "2" (ecx) in cpuid_ext()
139 unsigned int eax, ecx; in cpuid_ecx() local
144 : "=a" (eax), "=c" (ecx) in cpuid_ecx()
147 return ecx; in cpuid_ecx()
H A Dptrace.h30 long ecx; member
51 long ecx; member
/openbmc/qemu/pc-bios/optionrom/
H A Dmultiboot.S44 mov %ss, %ecx
45 shl $0x4, %ecx
47 add %ebx, %ecx
48 sub $0x20, %ecx
50 shr $0x4, %ecx
99 movl $20, %ecx
118 add %ecx, %edi
195 mov %eax, %ecx
204 jmp *%ecx
H A Dpvh.S67 mov %ss, %ecx
68 shl $0x4, %ecx
70 add %ebx, %ecx
71 sub $0x20, %ecx
73 shr $0x4, %ecx
109 movl $24, %ecx
H A Dkvmvapic.S105 push %ecx
109 mov vcpu_shift, %ecx ; fixup
116 pop %ecx
132 mov %eax, %ecx
134 xchg %eax, %ecx
174 push %ecx
183 mov vcpu_shift, %ecx ; fixup
214 pop %ecx
225 mov 24(%esp), %ecx
227 mov %ecx, (%eax)
[all …]
H A Doptionrom.h123 mov %eax, %ecx; \
126 read_fw_dma var ## _DATA, %ecx, %edi
133 mov %eax, %ecx; \
/openbmc/qemu/linux-user/x86_64/
H A Dvdso.S55 xor %ecx, %ecx /* rdtscp w/ tsc_aux = 0 */
60 mov %ecx, %eax
67 shr $12, %ecx
68 mov %ecx, (%rsi)
/openbmc/u-boot/arch/x86/cpu/
H A Dsipi_vector.S105 movl %eax, %ecx
106 inc %ecx
107 lock cmpxchg %ecx, ap_count
112 mul %ecx
117 mov %ecx, %esi
127 mov $MSR_IA32_UCODE_REV, %ecx
144 mov $MSR_IA32_UCODE_WRITE, %ecx
176 mov (%edi), %ecx
H A Dcall32.S52 movl $MSR_EFER, %ecx
58 mov %ebx, %ecx
H A Dstart16.S24 movl %eax, %ecx
54 movl %ecx, %eax
/openbmc/qemu/target/i386/tcg/
H A Dmisc_helper.c52 uint32_t eax, ebx, ecx, edx; in helper_cpuid() local
57 &eax, &ebx, &ecx, &edx); in helper_cpuid()
60 env->regs[R_ECX] = ecx; in helper_cpuid()
104 uint64_t helper_rdpkru(CPUX86State *env, uint32_t ecx) in helper_rdpkru() argument
109 if (ecx != 0) { in helper_rdpkru()
116 void helper_wrpkru(CPUX86State *env, uint32_t ecx, uint64_t val) in helper_wrpkru() argument
123 if (ecx != 0 || (val & 0xFFFFFFFF00000000ull)) { in helper_wrpkru()
/openbmc/qemu/target/i386/
H A Dhost-cpu.c94 uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0; in host_cpu_fill_model_id() local
98 host_cpuid(0x80000002 + i, 0, &eax, &ebx, &ecx, &edx); in host_cpu_fill_model_id()
101 memcpy(str + i * 16 + 8, &ecx, 4); in host_cpu_fill_model_id()
109 uint32_t eax, ebx, ecx, edx; in host_cpu_vendor_fms() local
111 host_cpuid(0x0, 0, NULL, &ebx, &ecx, &edx); in host_cpu_vendor_fms()
112 x86_cpu_vendor_words2str(vendor, ebx, edx, ecx); in host_cpu_vendor_fms()
118 host_cpuid(0x1, 0, &eax, &ebx, &ecx, &edx); in host_cpu_vendor_fms()
/openbmc/u-boot/arch/x86/lib/
H A Dbios_asm.S94 movl __registers + 8, %ecx
268 movzwl %cs:__realmode_ss, %ecx
269 shll $4, %ecx
270 addl %ecx, %esp
277 movzwl %cs:__realmode_ss, %ecx
278 shll $4, %ecx
279 subl %ecx, %esp
H A Dbios.c25 asmlinkage void (*realmode_call)(u32 addr, u32 eax, u32 ebx, u32 ecx, u32 edx,
28 asmlinkage void (*realmode_interrupt)(u32 intno, u32 eax, u32 ebx, u32 ecx,
61 .ecx = M.x86.R_ECX, in int_exception_handler()
285 u32 ebx, u32 edx, u32 ecx, u32 eax, in interrupt_handler() argument
300 eax, ebx, ecx, edx); in interrupt_handler()
313 M.x86.R_ECX = ecx; in interrupt_handler()
337 *(volatile u32 *)&ecx = M.x86.R_ECX; in interrupt_handler()
/openbmc/u-boot/arch/x86/cpu/i386/
H A Dsetjmp.S30 popl %ecx /* Return address, and adjust the stack */
34 pushl %ecx /* Make the call/return stack happy */
38 movl %ecx, 20(%edx) /* Return address */
H A Dcall64.S24 push %ecx /* arg2 = target */
42 movl $MSR_EFER, %ecx
/openbmc/u-boot/arch/x86/cpu/baytrail/
H A Dcpu.c161 int ecx = 0; in baytrail_get_count() local
172 leaf_b = cpuid_ext(0xb, ecx); in baytrail_get_count()
178 if ((leaf_b.ecx & 0xff00) == 0x0200) in baytrail_get_count()
181 ecx++; in baytrail_get_count()
/openbmc/qemu/target/i386/kvm/
H A Dkvm-cpu.c76 &cpu->mwait.ecx, &cpu->mwait.edx); in kvm_cpu_realizefn()
139 uint32_t eax, ebx, ecx, edx; in kvm_cpu_xsave_init() local
157 host_cpuid(0xd, i, &eax, &ebx, &ecx, &edx); in kvm_cpu_xsave_init()
161 esa->ecx = ecx; in kvm_cpu_xsave_init()
/openbmc/qemu/tests/functional/acpi-bits/bits-tests/
H A Dtestcpuid.py262 …desc.append("Masks: eax={eax:#010x} ebx={ebx:#010x} ecx={ecx:#010x} edx={edx:#010x}".for…
69 …desc.append("Common bits: eax={eax:#010x} ebx={ebx:#010x} ecx={ecx:#010x} edx={edx:#010x}".for…
70 …desc.append("Mask of common bits: {eax:#010x} {ebx:#010x} {ecx:#010x} {edx:#010x}".for…
74 …desc.append("Register value: eax={eax:#010x} ebx={ebx:#010x} ecx={ecx:#010x} edx={edx:#010x}".for…
/openbmc/qemu/hw/i386/
H A Dsgx.c92 uint32_t eax, ebx, ecx, edx; in sgx_calc_host_epc_sections() local
96 host_cpuid(0x12, i + 2, &eax, &ebx, &ecx, &edx); in sgx_calc_host_epc_sections()
109 section->size = sgx_calc_section_metric(ecx, edx); in sgx_calc_host_epc_sections()
159 uint32_t eax, ebx, ecx, edx; in qmp_query_sgx_capabilities() local
170 host_cpuid(0x7, 0, &eax, &ebx, &ecx, &edx); in qmp_query_sgx_capabilities()
173 info->flc = ecx & (1U << 30) ? true : false; in qmp_query_sgx_capabilities()
175 host_cpuid(0x12, 0, &eax, &ebx, &ecx, &edx); in qmp_query_sgx_capabilities()
H A Dfw_cfg.c181 uint32_t unused, ebx, ecx, edx; in fw_cfg_build_feature_control() local
185 cpu_x86_cpuid(env, 1, 0, &unused, &unused, &ecx, &edx); in fw_cfg_build_feature_control()
186 if (ecx & CPUID_EXT_VMX) { in fw_cfg_build_feature_control()
197 cpu_x86_cpuid(env, 0x7, 0, &unused, &ebx, &ecx, &unused); in fw_cfg_build_feature_control()
201 if (ecx & CPUID_7_0_ECX_SGX_LC) { in fw_cfg_build_feature_control()
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-code16.S21 movl %esp, %ecx
23 subl %esp, %ecx

123