Home
last modified time | relevance | path

Searched refs:eax (Results 1 – 25 of 81) sorted by relevance

1234

/xen/xen/arch/x86/boot/
A Dtrampoline.S65 mov %eax,%ds
66 mov %eax,%es
78 mov %eax,%cr3
83 mov %esi,%eax
84 or %edi,%eax
90 and %esi,%eax
172 mov %eax,%ds
173 mov %eax,%es
174 mov %eax,%fs
175 mov %eax,%gs
[all …]
A Dwakeup.S29 cmpl $0x12345678, %eax
55 mov %eax, %cr0
96 mov $BOOT_DS, %eax
97 mov %eax, %ds
98 mov %eax, %ss
104 mov (%eax), %eax
117 mov %eax,%cr3
122 mov %esi, %eax
123 or %edi, %eax
129 and %esi, %eax
[all …]
A Dhead.S319 xor %eax,%eax
617 xor %eax,%eax
623 mov $1, %eax
627 mov $0x80000000,%eax
629 shld $16,%eax,%ecx
662 2: add $8, %eax
664 cmp %edi, %eax
725 mov (%edi), %eax
737 mov (%edi), %eax
754 push %eax
[all …]
/xen/xen/arch/x86/x86_64/
A Dkexec_reloc.S136 xorl %eax, %eax
147 movl $0x0008, %eax
148 movl %eax, %ds
149 movl %eax, %es
150 movl %eax, %fs
151 movl %eax, %gs
152 movl %eax, %ss
155 movl %cr0, %eax
157 movl %eax, %cr0
166 xorl %eax, %eax
[all …]
A Dentry.S31 xor %eax,%eax
49 movl VCPU_processor(%rbx), %eax
50 shll $IRQSTAT_shift, %eax
68 decl %eax
69 cmpl $0xfe, %eax
175 mov %r15d, %eax
472 movl UREGS_eflags+8(%rsp),%eax
479 orl %ecx,%eax # Fold EFLAGS.IOPL into %eax
515 xor %eax, %eax
548 leal (%rax,%rax,2),%eax
[all …]
/xen/tools/firmware/rombios/
A D32bitgateway.c100 xor eax, eax
102 shl eax, #4
103 add esp, eax
108 mov eax, cr0 variable
110 mov cr0, eax
125 call eax
130 xor eax, eax
133 shl eax, 4
134 sub esp, eax
144 mov eax, cr0 variable
[all …]
A Dapmbios.S31 push eax
33 mov ebx, eax
44 pop eax
67 push eax
89 pop eax
94 shr eax, #8
96 shr eax, #8
98 shr eax, #8
101 mov eax,ebx
111 push eax
[all …]
/xen/xen/arch/x86/x86_64/compat/
A Dentry.S36 shll $IRQSTAT_shift,%eax
54 decl %eax
55 cmpl $0xfe,%eax
193 xor %eax, %eax
269 cmovel %ecx,%eax
270 testl $~3,%eax
272 cmovzl %ecx,%eax
316 shrl $16,%eax
326 orl %ecx,%eax # Fold EFLAGS.IOPL into %eax
346 testl $~3,%eax
[all …]
/xen/xen/arch/x86/acpi/
A Dwakeup_prot.S24 mov $1, %eax
52 mov $__HYPERVISOR_DS64, %eax
53 mov %eax, %ds
54 mov %eax, %es
55 mov %eax, %fs
56 mov %eax, %gs
57 mov %eax, %ss
90 mov %edi, %eax
102 and $~(STACK_SIZE - 1), %eax
107 mov $2, %eax
[all …]
/xen/stubdom/grub/
A Dboot-x86_32.S79 movl $__HYPERVISOR_update_va_mapping, %eax
81 testl %eax, %eax
87 movl $(0f - _boot_page), %eax
89 addl %ebx, %eax
90 jmpl *%eax
100 movl $__HYPERVISOR_mmuext_op, %eax
102 testl %eax, %eax
/xen/xen/arch/x86/cpu/
A Dintel.c230 uint32_t eax, tmp; in intel_init_levelling() local
371 unsigned int eax, ebx, ecx, edx; in num_cpu_cores() local
378 if (eax & 0x1f) in num_cpu_cores()
379 return ((eax >> 26) + 1); in num_cpu_cores()
393 if ( ecx && ebx && eax ) in intel_log_freq()
398 do_div(val, eax); in intel_log_freq()
407 if ( ebx && eax ) in intel_log_freq()
416 if ( ecx | eax | ebx ) in intel_log_freq()
421 if ( eax ) in intel_log_freq()
461 unsigned eax = cpuid_eax(10); in init_intel() local
[all …]
A Dcommon.c293 u32 eax, ebx, ecx, edx; in early_cpu_init() local
337 eax = cpuid_eax(0x80000000); in early_cpu_init()
338 if ((eax >> 16) == 0x8000 && eax >= 0x80000008) { in early_cpu_init()
339 eax = cpuid_eax(0x80000008); in early_cpu_init()
340 paddr_bits = eax & 0xff; in early_cpu_init()
343 vaddr_bits = (eax >> 8) & 0xff; in early_cpu_init()
359 u32 eax, ebx, ecx, edx, tmp; in generic_identify() local
422 if (eax > 0) in generic_identify()
563 #define BITS_SHIFT_NEXT_LEVEL(eax) ((eax) & 0x1f) argument
631 u32 eax, ebx, ecx, edx; in detect_ht() local
[all …]
A Dintel_cacheinfo.c85 union _cpuid4_leaf_eax eax; in cpuid4_cache_lookup() local
90 cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); in cpuid4_cache_lookup()
91 if (eax.split.type == CACHE_TYPE_NULL) in cpuid4_cache_lookup()
94 this_leaf->eax = eax; 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()
114 cache_eax.full = eax; in find_num_cache_leaves()
146 switch(this_leaf.eax.split.level) { in init_intel_cacheinfo()
148 if (this_leaf.eax.split.type == in init_intel_cacheinfo()
151 else if (this_leaf.eax.split.type == in init_intel_cacheinfo()
/xen/xen/arch/x86/hvm/
A Dhypercall.c170 unsigned long eax = regs->eax; in hvm_hypercall() local
176 eax = regs->rax; in hvm_hypercall()
181 eax == __HYPERVISOR_hvm_op && in hvm_hypercall()
212 if ( eax >= ARRAY_SIZE(hvm_hypercall_table) ) in hvm_hypercall()
218 eax = array_index_nospec(eax, ARRAY_SIZE(hvm_hypercall_table)); in hvm_hypercall()
220 if ( !hvm_hypercall_table[eax].native ) in hvm_hypercall()
244 eax, rdi, rsi, rdx, r10, r8, r9); in hvm_hypercall()
248 switch ( hypercall_args_table[eax].native ) in hvm_hypercall()
266 switch ( hypercall_args_table[eax].native ) in hvm_hypercall()
292 switch ( hypercall_args_table[eax].compat ) in hvm_hypercall()
[all …]
/xen/xen/arch/x86/pv/
A Dhypercall.c102 unsigned long eax; in pv_hypercall() local
106 eax = is_pv_32bit_vcpu(curr) ? regs->eax : regs->rax; in pv_hypercall()
111 if ( eax >= ARRAY_SIZE(pv_hypercall_table) ) in pv_hypercall()
117 eax = array_index_nospec(eax, ARRAY_SIZE(pv_hypercall_table)); in pv_hypercall()
119 if ( !pv_hypercall_table[eax].native ) in pv_hypercall()
138 switch ( hypercall_args_table[eax].native ) in pv_hypercall()
152 __trace_hypercall(TRC_PV_HYPERCALL_V2, eax, args); in pv_hypercall()
161 switch ( hypercall_args_table[eax].native ) in pv_hypercall()
184 switch ( hypercall_args_table[eax].compat ) in pv_hypercall()
203 regs->eax = pv_hypercall_table[eax].compat(ebx, ecx, edx, esi, edi, ebp); in pv_hypercall()
[all …]
/xen/xen/include/asm-x86/
A Dspec_ctrl_asm.h143 mov %eax, VCPUMSR_spec_ctrl_raw(%rdx)
150 movzbl CPUINFO_xen_spec_ctrl(%rsp), %eax
173 xor %eax, %eax
177 not %eax
179 movzbl STACK_CPUINFO_FIELD(xen_spec_ctrl)(%r14), %eax
182 movzbl CPUINFO_xen_spec_ctrl(%rsp), %eax
202 mov STACK_CPUINFO_FIELD(shadow_spec_ctrl)(%rbx), %eax
218 mov %eax, CPUINFO_shadow_spec_ctrl(%rsp)
279 movzbl STACK_CPUINFO_FIELD(spec_ctrl_flags)(%r14), %eax
299 movzbl STACK_CPUINFO_FIELD(xen_spec_ctrl)(%r14), %eax
A Dprocessor.h196 unsigned int *eax, in cpuid_count() argument
211 unsigned int eax; in cpuid_eax() local
214 : "=a" (eax) in cpuid_eax()
217 return eax; in cpuid_eax()
222 unsigned int eax, ebx; in cpuid_ebx() local
225 : "=a" (eax), "=b" (ebx) in cpuid_ebx()
233 unsigned int eax, ecx; in cpuid_ecx() local
236 : "=a" (eax), "=c" (ecx) in cpuid_ecx()
244 unsigned int eax, edx; in cpuid_edx() local
247 : "=a" (eax), "=d" (edx) in cpuid_edx()
[all …]
/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()
48 if ( eax >= 0x80000008 ) in cpu_phys_addr()
50 cpuid(0x80000008, &eax, &ebx, &ecx, &edx); in cpu_phys_addr()
51 phys_bits = (uint8_t)eax; 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 Dhvmloader.c123 uint32_t eax, ebx, ecx, edx; in init_hypercalls() local
131 cpuid(base, &eax, &ebx, &ecx, &edx); in init_hypercalls()
142 BUG_ON(strcmp("XenVMMXenVMM", signature) || ((eax - base) < 2)); in init_hypercalls()
145 cpuid(base + 2, &eax, &ebx, &ecx, &edx); in init_hypercalls()
146 for ( i = 0; i < eax; i++ ) in init_hypercalls()
150 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in init_hypercalls()
152 printf("Detected Xen v%u.%u%s\n", eax >> 16, eax & 0xffff, extraversion); in init_hypercalls()
/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()
64 cpuid(0x40000001, &eax, &ebx, &ecx, &edx); in hyperv_probe()
65 if ( eax != 0x31237648 ) /* Hv#1 */ in hyperv_probe()
69 cpuid(HYPERV_CPUID_FEATURES, &eax, &ebx, &ecx, &edx); in hyperv_probe()
70 ms_hyperv.features = eax; in hyperv_probe()
78 cpuid(HYPERV_CPUID_IMPLEMENT_LIMITS, &eax, &ebx, &ecx, &edx); in hyperv_probe()
79 ms_hyperv.max_vp_index = eax; in hyperv_probe()
/xen/xen/arch/x86/oprofile/
A Dop_model_ppro.c83 union cpuid10_eax eax; in ppro_setup_ctrs() local
84 eax.full = cpuid_eax(0xa); in ppro_setup_ctrs()
90 if (!(eax.split.version_id == 0 && in ppro_setup_ctrs()
94 if (counter_width < eax.split.bit_width) in ppro_setup_ctrs()
95 counter_width = eax.split.bit_width; in ppro_setup_ctrs()
297 union cpuid10_eax eax; in arch_perfmon_setup_counters() local
299 eax.full = cpuid_eax(0xa); in arch_perfmon_setup_counters()
302 if (eax.split.version_id == 0 && current_cpu_data.x86 == 6 && in arch_perfmon_setup_counters()
304 eax.split.version_id = 2; in arch_perfmon_setup_counters()
305 eax.split.num_counters = 2; in arch_perfmon_setup_counters()
[all …]
/xen/tools/tests/x86_emulator/
A Dopmask.S48 mov $\line, %eax
86 mov $__LINE__, %eax
93 mov $__LINE__, %eax
100 mov $__LINE__, %eax
120 mov $__LINE__, %eax
127 mov $__LINE__, %eax
134 mov $__LINE__, %eax
149 xor %eax, %eax
/xen/xen/arch/x86/hvm/vmx/
A Dentry.S41 mov $IA32_DEBUGCTLMSR_LBR, %eax
56 mov VCPU_processor(%rbx),%eax
59 shl $IRQSTAT_shift,%eax
80 mov VCPUMSR_spec_ctrl_raw(%rax), %eax
/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()
62 ((eax - base) >= 2) ) 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()
138 if ( eax & XEN_HVM_CPUID_VCPU_ID_PRESENT ) in set_vcpu_id()
/xen/xen/arch/x86/
A Dclear_page.S7 xor %eax,%eax

Completed in 41 milliseconds

1234