/xen/xen/arch/x86/boot/ |
A D | head.S | 234 mov %ecx,%r8d 318 shr $3,%ecx 502 add MB2_tag_size(%ecx),%ecx 517 mov %ecx,%ds 518 mov %ecx,%es 519 mov %ecx,%ss 523 xor %ecx,%ecx 524 mov %ecx,%fs 525 mov %ecx,%gs 553 shl $4, %ecx [all …]
|
A D | x86_64.S | 7 mov $(__HYPERVISOR_DS64),%ecx 8 mov %ecx,%ds 9 mov %ecx,%es 10 mov %ecx,%fs 11 mov %ecx,%gs 12 mov %ecx,%ss 40 mov $MSR_S_CET, %ecx 46 mov $MSR_PL0_SSP, %ecx 55 mov $XEN_MINIMAL_CR4 | X86_CR4_CET, %ecx
|
A D | trampoline.S | 72 mov $X86_CR4_PAE,%ecx 73 mov %ecx,%cr4 86 mov $MSR_IA32_MISC_ENABLE,%ecx 97 mov $MSR_IA32_CR_PAT, %ecx 101 movl $MSR_EFER,%ecx 201 xor %ecx,%ecx
|
A D | wakeup.S | 111 mov $X86_CR4_PAE, %ecx 112 mov %ecx, %cr4 125 mov $MSR_IA32_MISC_ENABLE, %ecx 135 movl $MSR_EFER,%ecx
|
A D | mem.S | 16 movl $20,%ecx # size of the e820rec 59 movzwl %cx, %ecx 60 addl %ecx, %edx # add in lower memory
|
/xen/xen/arch/x86/cpu/ |
A D | intel.c | 203 uint32_t ecx, edx, tmp; in intel_init_levelling() local 207 ecx &= opt_cpuid_mask_ecx; in intel_init_levelling() 219 uint32_t ecx, edx, tmp; in intel_init_levelling() local 223 ecx &= opt_cpuid_mask_ext_ecx; in intel_init_levelling() 371 unsigned int eax, ebx, ecx, edx; in num_cpu_cores() local 386 unsigned int eax, ebx, ecx, edx; in intel_log_freq() local 393 if ( ecx && ebx && eax ) in intel_log_freq() 402 else if ( ecx | eax | ebx ) in intel_log_freq() 405 if ( ecx ) in intel_log_freq() 416 if ( ecx | eax | ebx ) in intel_log_freq() [all …]
|
A D | common.c | 250 edx>>24, edx&0xFF, ecx>>24, ecx&0xFF); in display_cacheinfo() 257 ecx = cpuid_ecx(0x80000006); in display_cacheinfo() 258 l2size = ecx >> 16; in display_cacheinfo() 264 l2size, ecx & 0xFF); in display_cacheinfo() 293 u32 eax, ebx, ecx, edx; in early_cpu_init() local 300 *(u32 *)&c->x86_vendor_id[8] = ecx; in early_cpu_init() 359 u32 eax, ebx, ecx, edx, tmp; in generic_identify() local 364 *(u32 *)&c->x86_vendor_id[8] = ecx; in generic_identify() 562 #define LEAFB_SUBTYPE(ecx) (((ecx) >> 8) & 0xff) argument 631 u32 eax, ebx, ecx, edx; in detect_ht() local [all …]
|
A D | amd.c | 97 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() 290 ecx &= opt_cpuid_mask_ecx; in amd_init_levelling() 293 ecx &= m->ecx; in amd_init_levelling() 306 uint32_t ecx, edx, tmp; in amd_init_levelling() local 311 ecx &= opt_cpuid_mask_ext_ecx; in amd_init_levelling() 314 ecx &= m->ext_ecx; in amd_init_levelling() 338 uint32_t ecx = cpuid_ecx(6); in amd_init_levelling() local 341 ecx &= opt_cpuid_mask_thermal_ecx; in amd_init_levelling() [all …]
|
A D | intel_cacheinfo.c | 87 union _cpuid4_leaf_ecx ecx; in cpuid4_cache_lookup() local 90 cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); in cpuid4_cache_lookup() 96 this_leaf->ecx = ecx; in cpuid4_cache_lookup() 97 this_leaf->size = (ecx.split.number_of_sets + 1) * 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/xen/include/asm-x86/ |
A D | spec_ctrl_asm.h | 114 sub $1, %ecx 119 mov $1, %ecx 120 rdsspd %ecx 121 cmp $1, %ecx 123 mov $64, %ecx /* 64 * 4 bytes, given incsspd */ 124 incsspd %ecx /* Restore old SSP */ 138 mov $MSR_SPEC_CTRL, %ecx 164 mov $MSR_SPEC_CTRL, %ecx 203 mov $MSR_SPEC_CTRL, %ecx 223 mov $MSR_SPEC_CTRL, %ecx [all …]
|
A D | processor.h | 198 unsigned int *ecx, in cpuid_count() argument 202 : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx) in cpuid_count() 233 unsigned int eax, ecx; in cpuid_ecx() local 236 : "=a" (eax), "=c" (ecx) in cpuid_ecx() 239 return ecx; in cpuid_ecx() 410 static always_inline void __monitor(const void *eax, unsigned long ecx, in __monitor() argument 416 : : "a" (eax), "c" (ecx), "d"(edx) ); in __monitor() 419 static always_inline void __mwait(unsigned long eax, unsigned long ecx) in __mwait() argument 424 : : "a" (eax), "c" (ecx) ); in __mwait()
|
/xen/xen/arch/x86/acpi/ |
A D | lib.c | 92 u32 ecx; in arch_acpi_set_pdc_bits() local 115 ecx = 0; in arch_acpi_set_pdc_bits() 117 ecx = cpuid_ecx(CPUID_MWAIT_LEAF); in arch_acpi_set_pdc_bits() 119 on_selected_cpus(cpumask_of(cpu), get_mwait_ecx, &ecx, 1); in arch_acpi_set_pdc_bits() 120 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in arch_acpi_set_pdc_bits() 121 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) in arch_acpi_set_pdc_bits()
|
/xen/tools/firmware/hvmloader/ |
A D | cacheattr.c | 44 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()
|
A D | hvmloader.c | 123 uint32_t eax, ebx, ecx, edx; in init_hypercalls() local 131 cpuid(base, &eax, &ebx, &ecx, &edx); in init_hypercalls() 134 *(uint32_t *)(signature + 4) = ecx; 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()
|
/xen/tools/tests/x86_emulator/ |
A D | test_x86_emulator.c | 960 regs.ecx = ~0UL; in main() 1173 regs.ecx = 23; in main() 1612 regs.ecx = 0; in main() 1653 regs.ecx = 0; in main() 2717 regs.ecx = 0; in main() 2764 regs.ecx = 0; in main() 2941 regs.ecx = 0; in main() 2998 regs.ecx = 0; in main() 3127 regs.ecx = 0; in main() 3240 regs.ecx = 0; in main() [all …]
|
/xen/xen/arch/x86/guest/hyperv/ |
A D | hyperv.c | 54 uint32_t eax, ebx, ecx, edx; in hyperv_probe() local 58 cpuid(0x40000000, &eax, &ebx, &ecx, &edx); in hyperv_probe() 60 (ecx == 0x666f736f) && /* "osof" */ 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() 78 cpuid(HYPERV_CPUID_IMPLEMENT_LIMITS, &eax, &ebx, &ecx, &edx); in hyperv_probe()
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | entry.S | 42 mov $MSR_IA32_DEBUGCTLMSR, %ecx 58 xor %ecx,%ecx 61 cmp %ecx,(%rdx,%rax,1)
|
/xen/xen/arch/x86/ |
A D | clear_page.S | 6 mov $PAGE_SIZE/32, %ecx 14 sub $1, %ecx
|
/xen/xen/arch/x86/hvm/svm/ |
A D | entry.S | 39 xor %ecx,%ecx 42 cmp %ecx,(%rdx,%rax,1)
|
/xen/xen/arch/x86/pv/ |
A D | hypercall.c | 176 unsigned int ecx = regs->ecx; in pv_hypercall() local 187 case 1: ecx = 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() 216 case 2: regs->ecx = 0xdeadf00d; in pv_hypercall()
|
/xen/xen/arch/x86/x86_64/ |
A D | entry.S | 40 leal (,%rcx,TBF_INTERRUPT),%ecx 157 mov $ROOT_PAGETABLE_FIRST_XEN_SLOT, %ecx 191 incl %ecx 192 cmpl $1,%ecx 318 leal (,%rcx,TBF_INTERRUPT),%ecx 373 mov %ecx, %edx 390 lea (, %rcx, TBF_INTERRUPT), %ecx 441 sbb %ecx,%ecx # In +ve address space? Then okay. 443 adc %ecx,%ecx # Above Xen private area? Then okay. 476 xorl %ecx,%ecx # if ( VM_ASSIST(v->domain, architectural_iopl) ) [all …]
|
/xen/tools/firmware/rombios/ |
A D | 32bitgateway.c | 120 mov ecx, #MAX_ARG_BYTES/4 127 mov ecx, eax ; Result in ecx variable 156 mov eax, ecx
|
/xen/xen/arch/x86/x86_64/compat/ |
A D | entry.S | 243 leal (,%rcx,TBF_INTERRUPT),%ecx 254 leal TBF_EXCEPTION|TBF_EXCEPTION_ERRCODE(,%rcx,TBF_INTERRUPT),%ecx 268 movzwl TRAP_gp_fault * TRAPINFO_sizeof + TRAPINFO_cs(%rcx),%ecx 269 cmovel %ecx,%eax 272 cmovzl %ecx,%eax 323 xorl %ecx,%ecx # if ( VM_ASSIST(v->domain, architectural_iopl) ) 325 cmovnzl VCPU_iopl(%rbx),%ecx # Bits 13:12 (EFLAGS.IOPL) 326 orl %ecx,%eax # Fold EFLAGS.IOPL into %eax
|
/xen/xen/arch/x86/hvm/ |
A D | hypercall.c | 281 unsigned int ecx = regs->ecx; in hvm_hypercall() local 288 ebx, ecx, edx, esi, edi, ebp); in hvm_hypercall() 295 case 1: ecx = 0xdeadf00d; in hvm_hypercall() 304 regs->rax = hvm_hypercall_table[eax].compat(ebx, ecx, edx, esi, edi, in hvm_hypercall()
|
/xen/xen/arch/x86/guest/xen/ |
A D | xen.c | 52 uint32_t eax, ebx, ecx, edx, base; in find_xen_leaves() local 57 cpuid(base, &eax, &ebx, &ecx, &edx); in find_xen_leaves() 60 (ecx == XEN_CPUID_SIGNATURE_ECX) && 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()
|