/xen-4.10.0-shim-comet/xen/arch/x86/boot/ |
A D | trampoline.S | 104 mov %eax,%ds 105 mov %eax,%es 117 mov %eax,%cr3 122 mov %esi,%eax 123 or %edi,%eax 175 mov %eax,%ds 176 mov %eax,%es 177 mov %eax,%fs 178 mov %eax,%gs 179 mov %eax,%ss [all …]
|
A D | wakeup.S | 20 movl wakesym(real_magic), %eax 21 cmpl $0x12345678, %eax 35 movl wakesym(video_mode), %eax 117 mov $BOOT_DS, %eax 118 mov %eax, %ds 119 mov %eax, %ss 123 mov $sym_offs(saved_magic),%eax 125 mov (%eax), %eax 126 cmp $0x9abcdef0, %eax 138 mov %eax,%cr3 [all …]
|
A D | head.S | 316 xor %eax,%eax 624 xor %eax,%eax 632 mov $0x80000000,%eax 634 shld $16,%eax,%ecx 640 mov $0x80000001,%eax 695 mov %fs:(%edi),%eax 696 add %edx,%fs:(%edi,%eax) 705 mov %fs:(%edi),%eax 706 mov %dx,%fs:(%edi,%eax) 721 push %eax [all …]
|
A D | mem.S | 14 1: movl $0x0000e820, %eax # e820, upper word zeroed 22 cmpl $SMAP,%eax # check the return is `SMAP' 78 mov %esi, %eax 81 cmp %ecx, %eax 82 cmova %ecx, %eax # number of entries to move 83 imul $5, %eax, %ecx
|
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/ |
A D | kexec_reloc.S | 136 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 D | entry.S | 22 xor %eax,%eax 114 movl VCPU_processor(%rbx),%eax 115 shll $IRQSTAT_shift,%eax 127 decl %eax 128 cmpl $0xfe,%eax 155 test %eax,%eax 171 test %eax,%eax 204 xorl %eax,%eax 322 orl %ecx,%eax # Fold EFLAGS.IOPL into %eax 386 leal (%rax,%rax,2),%eax [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/compat/ |
A D | entry.S | 45 decl %eax 46 cmpl $0xfe,%eax 75 testl %eax,%eax 91 testl %eax,%eax 178 xor %eax, %eax 234 cmovel %ecx,%eax 235 testl $~3,%eax 237 cmovzl %ecx,%eax 281 shrl $16,%eax 291 orl %ecx,%eax # Fold EFLAGS.IOPL into %eax [all …]
|
/xen-4.10.0-shim-comet/tools/firmware/rombios/ |
A D | 32bitgateway.c | 100 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 D | apmbios.S | 31 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-4.10.0-shim-comet/stubdom/grub/ |
A D | boot-x86_32.S | 79 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-4.10.0-shim-comet/xen/arch/x86/ |
A D | clear_page.S | 9 xor %eax,%eax 12 movnti %eax, (ptr_reg) 13 movnti %eax, 4(ptr_reg) 14 movnti %eax, 8(ptr_reg) 15 movnti %eax, 12(ptr_reg)
|
A D | xstate.c | 91 unsigned int leaf, eax, ebx, ecx, edx; in setup_xstate_features() local 116 cpuid_count(XSTATE_CPUID, leaf, &eax, in setup_xstate_features() 118 BUG_ON(eax != xstate_sizes[leaf]); 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() 584 u32 eax, ebx, ecx, edx; in xstate_init() local 595 cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); in xstate_init() 597 BUG_ON((eax & XSTATE_FP_SSE) != XSTATE_FP_SSE); in xstate_init() 598 BUG_ON((eax & XSTATE_YMM) && !(eax & XSTATE_SSE)); in xstate_init() 632 cpuid_count(XSTATE_CPUID, 1, &eax, &ebx, &ecx, &edx); in xstate_init() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | hypercall.c | 149 unsigned long eax = regs->eax; in hvm_hypercall() local 154 eax = regs->rax; in hvm_hypercall() 159 eax == __HYPERVISOR_hvm_op && in hvm_hypercall() 173 if ( (eax & 0x80000000) && is_viridian_domain(currd) ) in hvm_hypercall() 179 if ( (eax >= ARRAY_SIZE(hvm_hypercall_table)) || in hvm_hypercall() 180 !hvm_hypercall_table[eax].native ) in hvm_hypercall() 198 eax, rdi, rsi, rdx, r10, r8, r9); in hvm_hypercall() 202 switch ( hypercall_args_table[eax].native ) in hvm_hypercall() 220 switch ( hypercall_args_table[eax].native ) in hvm_hypercall() 246 switch ( hypercall_args_table[eax].compat ) in hvm_hypercall() [all …]
|
/xen-4.10.0-shim-comet/docs/misc/ |
A D | pvrdtscp.c | 58 u32 *eax, u32 *ebx, u32 *ecx, u32 *edx) in hvm_cpuid() argument 60 *eax = idx, *ecx = sub; in hvm_cpuid() 62 : "0" (*eax), "2" (*ecx)); in hvm_cpuid() 66 u32 *eax, u32 *ebx, u32 *ecx, u32 *edx) in pv_cpuid() argument 68 *eax = idx, *ecx = sub; in pv_cpuid() 214 u32 eax, ebx, ecx, edx, base; in running_on_xen() local 219 hvm_cpuid(base,0,&eax,&ebx,&ecx,&edx); in running_on_xen() 221 pv_cpuid(base,0,&eax,&ebx,&ecx,&edx); in running_on_xen() 228 pv_cpuid(base+1,0,&eax,&ebx,&ecx,&edx); in running_on_xen() 229 *version_major = (eax >> 16) & 0xffff; in running_on_xen() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/ |
A D | intel_cacheinfo.c | 87 union _cpuid4_leaf_eax eax; in cpuid4_cache_lookup() local 92 cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); in cpuid4_cache_lookup() 93 if (eax.split.type == CACHE_TYPE_NULL) in cpuid4_cache_lookup() 96 this_leaf->eax = eax; in cpuid4_cache_lookup() 108 unsigned int eax, ebx, ecx, edx; in find_num_cache_leaves() local 115 cpuid_count(4, i, &eax, &ebx, &ecx, &edx); in find_num_cache_leaves() 116 cache_eax.full = eax; in find_num_cache_leaves() 148 switch(this_leaf.eax.split.level) { in init_intel_cacheinfo() 150 if (this_leaf.eax.split.type == in init_intel_cacheinfo() 153 else if (this_leaf.eax.split.type == in init_intel_cacheinfo() [all …]
|
A D | common.c | 306 u32 eax, ebx, ecx, edx; in early_cpu_detect() local 334 eax = cpuid_eax(0x80000000); in early_cpu_detect() 335 if ((eax >> 16) == 0x8000 && eax >= 0x80000008) { in early_cpu_detect() 336 eax = cpuid_eax(0x80000008); in early_cpu_detect() 337 paddr_bits = eax & 0xff; in early_cpu_detect() 340 vaddr_bits = (eax >> 8) & 0xff; in early_cpu_detect() 353 u32 eax, ebx, ecx, edx, tmp; in generic_identify() local 522 #define BITS_SHIFT_NEXT_LEVEL(eax) ((eax) & 0x1f) argument 588 u32 eax, ebx, ecx, edx; in detect_ht() local 596 cpuid(1, &eax, &ebx, &ecx, &edx); in detect_ht() [all …]
|
A D | intel.c | 203 uint32_t eax, tmp; in intel_init_levelling() local 205 cpuid_count(0x0000000d, 1, &eax, &tmp, &tmp, &tmp); in intel_init_levelling() 207 eax &= opt_cpuid_mask_xsave_eax; in intel_init_levelling() 209 cpuidmask_defaults.Da1 &= (~0ULL << 32) | eax; in intel_init_levelling() 302 unsigned int eax, ebx, ecx, edx; in num_cpu_cores() local 308 cpuid_count(4, 0, &eax, &ebx, &ecx, &edx); in num_cpu_cores() 309 if (eax & 0x1f) in num_cpu_cores() 310 return ((eax >> 26) + 1); in num_cpu_cores() 325 unsigned eax = cpuid_eax(10); in init_intel() local 327 if ((eax & 0xff) && (((eax>>8) & 0xff) > 1)) in init_intel()
|
/xen-4.10.0-shim-comet/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() 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 D | hvmloader.c | 121 uint32_t eax, ebx, ecx, edx; in init_hypercalls() local 129 cpuid(base, &eax, &ebx, &ecx, &edx); in init_hypercalls() 140 BUG_ON(strcmp("XenVMMXenVMM", signature) || ((eax - base) < 2)); in init_hypercalls() 143 cpuid(base + 2, &eax, &ebx, &ecx, &edx); in init_hypercalls() 144 for ( i = 0; i < eax; i++ ) in init_hypercalls() 148 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in init_hypercalls() 150 printf("Detected Xen v%u.%u%s\n", eax >> 16, eax & 0xffff, extraversion); in init_hypercalls()
|
/xen-4.10.0-shim-comet/xen/arch/x86/pv/ |
A D | hypercall.c | 93 unsigned long eax; in pv_hypercall() local 97 eax = is_pv_32bit_vcpu(curr) ? regs->eax : regs->rax; in pv_hypercall() 102 if ( (eax >= ARRAY_SIZE(pv_hypercall_table)) || in pv_hypercall() 103 !pv_hypercall_table[eax].native ) in pv_hypercall() 122 switch ( hypercall_args_table[eax].native ) in pv_hypercall() 136 __trace_hypercall(TRC_PV_HYPERCALL_V2, eax, args); in pv_hypercall() 145 switch ( hypercall_args_table[eax].native ) in pv_hypercall() 168 switch ( hypercall_args_table[eax].compat ) in pv_hypercall() 183 __trace_hypercall(TRC_PV_HYPERCALL_V2, eax, args); in pv_hypercall() 187 regs->eax = pv_hypercall_table[eax].compat(ebx, ecx, edx, esi, edi, ebp); in pv_hypercall() [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | processor.h | 204 unsigned int *eax, in cpuid_count() argument 219 unsigned int eax; in cpuid_eax() local 222 : "=a" (eax) in cpuid_eax() 225 return eax; in cpuid_eax() 230 unsigned int eax, ebx; in cpuid_ebx() local 233 : "=a" (eax), "=b" (ebx) in cpuid_ebx() 241 unsigned int eax, ecx; in cpuid_ecx() local 244 : "=a" (eax), "=c" (ecx) in cpuid_ecx() 252 unsigned int eax, edx; in cpuid_edx() local 255 : "=a" (eax), "=d" (edx) in cpuid_edx() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/oprofile/ |
A D | op_model_ppro.c | 83 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-4.10.0-shim-comet/tools/tests/x86_emulator/ |
A D | test_x86_emulator.c | 19 regs->eax = 2; in blowfish_set_regs() 58 if ( !regs->eax ) in simd_check_regs() 355 regs.eax = 0x7FFFFFFF; in main() 401 regs.eax = 0x92345677UL; in main() 500 regs.eax = -32; in main() 532 regs.eax = res[0]; in main() 656 regs.eax = 0x12345678; in main() 675 regs.eax = 0x00000000; in main() 688 regs.eax = 0x12345678; in main() 811 regs.eax = 0x11111111; in main() [all …]
|
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/platform-pci/ |
A D | platform-pci.c | 123 uint32_t base, eax, ebx, ecx, edx; in xen_cpuid_base() local 127 cpuid(base, &eax, &ebx, &ecx, &edx); in xen_cpuid_base() 133 if (!strcmp("XenVMMXenVMM", signature) && ((eax - base) >= 2)) in xen_cpuid_base() 143 uint32_t eax, ebx, ecx, edx, pages, msr, i, base; in init_hypercall_stubs() local 152 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in init_hypercall_stubs() 154 printk(KERN_INFO "Xen version %d.%d.\n", eax >> 16, eax & 0xffff); in init_hypercall_stubs()
|
/xen-4.10.0-shim-comet/xen/arch/x86/guest/ |
A D | xen.c | 53 uint32_t eax, ebx, ecx, edx, base; in find_xen_leaves() local 58 cpuid(base, &eax, &ebx, &ecx, &edx); in find_xen_leaves() 63 ((eax - base) >= 2) ) in find_xen_leaves() 153 uint32_t eax, ebx, ecx, edx; in set_vcpu_id() local 158 cpuid(xen_cpuid_base + 4, &eax, &ebx, &ecx, &edx); in set_vcpu_id() 159 if ( eax & XEN_HVM_CPUID_VCPU_ID_PRESENT ) in set_vcpu_id()
|