Home
last modified time | relevance | path

Searched refs:edx (Results 1 – 25 of 67) sorted by relevance

123

/xen/xen/arch/x86/boot/
A Dhead.S363 mov %edx,%ds
364 mov %edx,%es
365 mov %edx,%ss
369 xor %edx,%edx
370 mov %edx,%fs
371 mov %edx,%gs
374 mov %cr0,%edx
376 mov %edx,%cr0
454 xor %edx,%edx
630 xor %edx,%edx
[all …]
A Dmem.S15 movl $SMAP,%edx # ascii 'SMAP'
57 1: movzwl %dx, %edx
58 shll $6,%edx # and go from 64k to 1k chunks
60 addl %ecx, %edx # add in lower memory
61 movl %edx,bootsym(highmem_kb) # store extended memory size
A Dtrampoline.S91 and %edi,%edx
96 mov $XEN_MSR_PAT >> 32, %edx
202 xor %edx,%edx
/xen/xen/include/asm-x86/
A Dspec_ctrl_asm.h144 xor %edx, %edx
165 xor %edx, %edx
197 xor %edx, %edx
224 xor %edx, %edx
291 xor %edx, %edx
294 not %edx
300 xor %edx, %edx
A Dprocessor.h199 unsigned int *edx) in cpuid_count() argument
202 : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx) in cpuid_count()
244 unsigned int eax, edx; in cpuid_edx() local
247 : "=a" (eax), "=d" (edx) in cpuid_edx()
250 return edx; in cpuid_edx()
266 unsigned int edx, tmp; in cpuid_count_edx() local
268 cpuid_count(leaf, subleaf, &tmp, &tmp, &tmp, &edx); in cpuid_count_edx()
270 return edx; in cpuid_count_edx()
411 unsigned long edx) in __monitor() argument
416 : : "a" (eax), "c" (ecx), "d"(edx) ); in __monitor()
/xen/xen/arch/x86/cpu/
A Dcommon.c243 unsigned int dummy, ecx, edx, l2size; in display_cacheinfo() local
250 edx>>24, edx&0xFF, ecx>>24, ecx&0xFF); in display_cacheinfo()
251 c->x86_cache_size=(ecx>>24)+(edx>>24); in display_cacheinfo()
293 u32 eax, ebx, ecx, edx; in early_cpu_init() local
301 *(u32 *)&c->x86_vendor_id[4] = edx; in early_cpu_init()
316 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); in early_cpu_init()
359 u32 eax, ebx, ecx, edx, tmp; in generic_identify() local
365 *(u32 *)&c->x86_vendor_id[4] = edx; in generic_identify()
588 initial_apicid = edx; in detect_extended_topology()
631 u32 eax, ebx, ecx, edx; in detect_ht() local
[all …]
A Dintel.c203 uint32_t ecx, edx, tmp; in intel_init_levelling() local
205 cpuid(0x00000001, &tmp, &tmp, &ecx, &edx); in intel_init_levelling()
208 edx &= opt_cpuid_mask_edx; in intel_init_levelling()
213 edx |= cpufeat_mask(X86_FEATURE_APIC); in intel_init_levelling()
219 uint32_t ecx, edx, tmp; in intel_init_levelling() local
221 cpuid(0x80000001, &tmp, &tmp, &ecx, &edx); in intel_init_levelling()
224 edx &= opt_cpuid_mask_ext_edx; in intel_init_levelling()
371 unsigned int eax, ebx, ecx, edx; in num_cpu_cores() local
377 cpuid_count(4, 0, &eax, &ebx, &ecx, &edx); in num_cpu_cores()
386 unsigned int eax, ebx, ecx, edx; in intel_log_freq() local
[all …]
A Damd.c97 unsigned int ecx, edx, ext_ecx, ext_edx; member
285 uint32_t ecx, edx, tmp; in amd_init_levelling() local
287 cpuid(0x00000001, &tmp, &tmp, &ecx, &edx); in amd_init_levelling()
291 edx &= opt_cpuid_mask_edx; in amd_init_levelling()
294 edx &= m->edx; in amd_init_levelling()
300 edx |= cpufeat_mask(X86_FEATURE_APIC); in amd_init_levelling()
306 uint32_t ecx, edx, tmp; in amd_init_levelling() local
312 edx &= opt_cpuid_mask_ext_edx; in amd_init_levelling()
315 edx &= m->ext_edx; in amd_init_levelling()
319 edx |= cpufeat_mask(X86_FEATURE_APIC); in amd_init_levelling()
[all …]
A Dintel_cacheinfo.c88 unsigned edx; in cpuid4_cache_lookup() local
90 cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); in cpuid4_cache_lookup()
106 unsigned int eax, ebx, ecx, edx; in find_num_cache_leaves() local
113 cpuid_count(4, i, &eax, &ebx, &ecx, &edx); in find_num_cache_leaves()
/xen/tools/firmware/hvmloader/
A Dcacheattr.c44 uint32_t eax, ebx, ecx, edx; in cpu_phys_addr() local
47 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); in cpu_phys_addr()
50 cpuid(0x80000008, &eax, &ebx, &ecx, &edx); in cpu_phys_addr()
59 uint32_t eax, ebx, ecx, edx; in cacheattr_init() local
64 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); in cacheattr_init()
65 if ( !(edx & (1u << 12)) ) in cacheattr_init()
A Dhvmloader.c123 uint32_t eax, ebx, ecx, edx; in init_hypercalls() local
131 cpuid(base, &eax, &ebx, &ecx, &edx); in init_hypercalls()
135 *(uint32_t *)(signature + 8) = edx; in init_hypercalls()
145 cpuid(base + 2, &eax, &ebx, &ecx, &edx); in init_hypercalls()
150 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in init_hypercalls()
A Dtests.c217 uint32_t i, eax, ebx, ecx, edx; in shadow_gs_test() local
220 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); in shadow_gs_test()
223 cpuid(0x80000001, &eax, &ebx, &ecx, &edx); in shadow_gs_test()
224 if ( !(edx & (1u<<29)) ) in shadow_gs_test()
/xen/xen/arch/x86/guest/hyperv/
A Dhyperv.c54 uint32_t eax, ebx, ecx, edx; in hyperv_probe() local
58 cpuid(0x40000000, &eax, &ebx, &ecx, &edx); in hyperv_probe()
61 (edx == 0x76482074)) ) /* "t Hv" */ in hyperv_probe()
64 cpuid(0x40000001, &eax, &ebx, &ecx, &edx); in hyperv_probe()
69 cpuid(HYPERV_CPUID_FEATURES, &eax, &ebx, &ecx, &edx); in hyperv_probe()
71 ms_hyperv.misc_features = edx; in hyperv_probe()
78 cpuid(HYPERV_CPUID_IMPLEMENT_LIMITS, &eax, &ebx, &ecx, &edx); in hyperv_probe()
/xen/tools/firmware/rombios/
A Dapmbios.S59 push edx
62 pop edx
70 push edx
86 pop edx
112 push edx
126 mov ebx, edx
139 pop edx
265 push edx
269 pop edx
273 push edx
[all …]
/xen/stubdom/grub/
A Dboot-x86_32.S77 movl _boot_page_entry_hi, %edx
98 xorl %edx, %edx
/xen/tools/tests/x86_emulator/
A Dtest_x86_emulator.c52 regs->edx = 1; in blowfish_set_regs()
1626 regs.edx = 0; in main()
2671 regs.edx = 0; in main()
3128 regs.edx = 0; in main()
3190 regs.edx = 0; in main()
3293 regs.edx = 0; in main()
3346 regs.edx = 0; in main()
3612 regs.edx = 0; in main()
3664 regs.edx = 0; in main()
3694 regs.edx = 0; in main()
[all …]
/xen/xen/arch/x86/pv/
A Dhypercall.c177 unsigned int edx = regs->edx; in pv_hypercall() local
188 case 2: edx = 0xdeadf00d; in pv_hypercall()
197 unsigned long args[6] = { ebx, ecx, edx, esi, edi, ebp }; in pv_hypercall()
203 regs->eax = pv_hypercall_table[eax].compat(ebx, ecx, edx, esi, edi, ebp); in pv_hypercall()
215 case 3: regs->edx = 0xdeadf00d; in pv_hypercall()
/xen/xen/arch/x86/guest/xen/
A Dxen.c52 uint32_t eax, ebx, ecx, edx, base; in find_xen_leaves() local
57 cpuid(base, &eax, &ebx, &ecx, &edx); in find_xen_leaves()
61 (edx == XEN_CPUID_SIGNATURE_EDX) && in find_xen_leaves()
132 uint32_t eax, ebx, ecx, edx; in set_vcpu_id() local
137 cpuid(xen_cpuid_base + 4, &eax, &ebx, &ecx, &edx); in set_vcpu_id()
/xen/xen/arch/x86/hvm/
A Dhypercall.c282 unsigned int edx = regs->edx; in hvm_hypercall() local
288 ebx, ecx, edx, esi, edi, ebp); in hvm_hypercall()
296 case 2: edx = 0xdeadf00d; in hvm_hypercall()
304 regs->rax = hvm_hypercall_table[eax].compat(ebx, ecx, edx, esi, edi, in hvm_hypercall()
/xen/xen/arch/x86/acpi/cpufreq/
A Dpowernow.c210 unsigned int edx; in feature_detect() local
218 edx = cpuid_edx(CPUID_FREQ_VOLT_CAPABILITIES); in feature_detect()
219 if ((edx & CPB_CAPABLE) == CPB_CAPABLE) { in feature_detect()
366 u32 eax, ebx, ecx, edx; in powernow_register_driver() local
367 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in powernow_register_driver()
368 if ((edx & USE_HW_PSTATE) != USE_HW_PSTATE) in powernow_register_driver()
/xen/tools/firmware/rombios/32bit/tcgbios/
A Dtcgbios.c103 uint32_t edx);
1156 uint32_t magic, uint32_t ecx, uint32_t edx) in HashAll32() argument
1197 uint32_t ebx, uint32_t ecx, uint32_t edx) in TSS32() argument
1433 regs->u.r32.edx = 0x0; in TCGInterruptHandler()
1452 regs->u.r32.edx); in TCGInterruptHandler()
1465 regs->u.r32.edx); in TCGInterruptHandler()
1483 regs->u.r32.edx); in TCGInterruptHandler()
1496 regs->u.r32.edx); in TCGInterruptHandler()
1507 regs->u.r32.edx); in TCGInterruptHandler()
1518 regs->u.r32.edx, in TCGInterruptHandler()
[all …]
/xen/xen/arch/x86/
A Dxstate.c92 unsigned int leaf, eax, ebx, ecx, edx; in setup_xstate_features() local
111 &xstate_offsets[leaf], &ecx, &edx); in setup_xstate_features()
118 &ebx, &ecx, &edx); in setup_xstate_features()
553 u32 eax, ebx = 0, ecx, edx; in _xstate_ctxt_size() local
557 cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); in _xstate_ctxt_size()
588 u32 eax, ebx, ecx, edx; in xstate_init() local
611 cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); in xstate_init()
615 feature_mask = (((u64)edx << 32) | eax) & XCNTXT_MASK; in xstate_init()
/xen/xen/lib/x86/
A Dcpuid.c12 unsigned int x86_cpuid_lookup_vendor(uint32_t ebx, uint32_t ecx, uint32_t edx) in x86_cpuid_lookup_vendor() argument
18 edx == X86_VENDOR_INTEL_EDX ) in x86_cpuid_lookup_vendor()
24 edx == X86_VENDOR_AMD_EDX ) in x86_cpuid_lookup_vendor()
30 edx == X86_VENDOR_CENTAUR_EDX ) in x86_cpuid_lookup_vendor()
36 edx == X86_VENDOR_SHANGHAI_EDX ) in x86_cpuid_lookup_vendor()
42 edx == X86_VENDOR_HYGON_EDX ) in x86_cpuid_lookup_vendor()
/xen/xen/arch/x86/acpi/
A Dwakeup_prot.S79 xor %edx, %edx
/xen/xen/arch/x86/hvm/vmx/
A Dentry.S43 xor %edx, %edx

Completed in 40 milliseconds

123