/xen/tools/firmware/rombios/ |
A D | apmbios.S | 32 push ebx 33 mov ebx, eax 40 inc ebx 43 pop ebx 68 push ebx 88 pop ebx 101 mov eax,ebx 113 push ebx 119 pop ebx 120 push ebx [all …]
|
/xen/xen/arch/x86/cpu/ |
A D | intel.c | 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 392 cpuid(0x15, &eax, &ebx, &ecx, &edx); in intel_log_freq() 393 if ( ecx && ebx && eax ) in intel_log_freq() 397 val *= ebx; in intel_log_freq() 402 else if ( ecx | eax | ebx ) in intel_log_freq() 407 if ( ebx && eax ) in intel_log_freq() 415 cpuid(0x16, &eax, &ebx, &ecx, &edx); in intel_log_freq() 416 if ( ecx | eax | ebx ) in intel_log_freq() [all …]
|
A D | common.c | 293 u32 eax, ebx, ecx, edx; in early_cpu_init() local 299 *(u32 *)&c->x86_vendor_id[0] = ebx; in early_cpu_init() 316 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); in early_cpu_init() 333 cpuid_count(7, 0, &eax, &ebx, &ecx, &edx); in early_cpu_init() 359 u32 eax, ebx, ecx, edx, tmp; in generic_identify() local 363 *(u32 *)&c->x86_vendor_id[0] = ebx; in generic_identify() 377 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); in generic_identify() 387 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); in generic_identify() 564 #define LEVEL_MAX_SIBLINGS(ebx) ((ebx) & 0xffff) argument 631 u32 eax, ebx, ecx, edx; in detect_ht() local [all …]
|
A D | intel_cacheinfo.c | 86 union _cpuid4_leaf_ebx ebx; in cpuid4_cache_lookup() local 90 cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); in cpuid4_cache_lookup() 95 this_leaf->ebx = ebx; in cpuid4_cache_lookup() 98 (ebx.split.coherency_line_size + 1) * in cpuid4_cache_lookup() 99 (ebx.split.physical_line_partition + 1) * in cpuid4_cache_lookup() 100 (ebx.split.ways_of_associativity + 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()
|
A D | hygon.c | 12 unsigned int ebx; in hygon_get_topology() local 20 ebx = cpuid_ebx(0x8000001e); in hygon_get_topology() 21 c->x86_num_siblings = ((ebx >> 8) & 0x3) + 1; in hygon_get_topology() 23 c->cpu_core_id = ebx & 0xff; in hygon_get_topology()
|
A D | amd.c | 325 uint32_t eax, ebx, tmp; in amd_init_levelling() local 327 cpuid(0x00000007, &eax, &ebx, &tmp, &tmp); in amd_init_levelling() 331 ebx &= opt_cpuid_mask_l7s0_ebx; in amd_init_levelling() 334 cpuidmask_defaults._7ab0 &= ((uint64_t)eax << 32) | ebx; in amd_init_levelling() 507 u32 eax, ebx, ecx, edx; in amd_get_topology() local 509 cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); in amd_get_topology() 510 c->x86_num_siblings = ((ebx >> 8) & 0xff) + 1; in amd_get_topology() 513 c->compute_unit_id = ebx & 0xFF; in amd_get_topology() 515 c->cpu_core_id = ebx & 0xFF; in amd_get_topology()
|
/xen/stubdom/grub/ |
A D | boot-x86_32.S | 74 movl _boot_target, %ebx 75 movl %ebx, %ebp /* also keep it in ebp for relative addressing */ 88 movl _boot_target, %ebx 89 addl %ebx, %eax 96 leal (_boot_mmuext-_boot_page)(%ebp), %ebx
|
/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() 59 if ( !((ebx == 0x7263694d) && /* "Micr" */ 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() 80 ms_hyperv.max_lp_index = ebx; in hyperv_probe()
|
/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() 133 *(uint32_t *)(signature + 0) = ebx; in init_hypercalls() 145 cpuid(base + 2, &eax, &ebx, &ecx, &edx); in init_hypercalls() 147 wrmsr(ebx, HYPERCALL_PHYSICAL_ADDRESS + (i << 12) + i); in init_hypercalls() 150 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in init_hypercalls()
|
A D | tests.c | 217 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() 268 : "=b" (ebx) : "a" (PD_START) : "ecx", "edx", "memory" ); in shadow_gs_test() 270 return (ebx == 2) ? TEST_PASS : TEST_FAIL; in shadow_gs_test()
|
/xen/xen/arch/x86/hvm/ |
A D | hypercall.c | 182 (mode == 8 ? regs->rdi : regs->ebx) == HVMOP_guest_request_vm_event ) in hvm_hypercall() 280 unsigned int ebx = regs->ebx; in hvm_hypercall() local 288 ebx, ecx, edx, esi, edi, ebp); in hvm_hypercall() 294 case 0: ebx = 0xdeadf00d; in hvm_hypercall() 304 regs->rax = hvm_hypercall_table[eax].compat(ebx, ecx, edx, esi, edi, in hvm_hypercall()
|
A D | save.c | 32 uint32_t eax, ebx, ecx, edx; in arch_hvm_save() local 35 cpuid(1, &eax, &ebx, &ecx, &edx); in arch_hvm_save() 47 uint32_t eax, ebx, ecx, edx; in arch_hvm_load() local 63 cpuid(1, &eax, &ebx, &ecx, &edx); in arch_hvm_load()
|
/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() 59 if ( (ebx == XEN_CPUID_SIGNATURE_EBX) && 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() 139 this_cpu(vcpu_id) = ebx; in set_vcpu_id()
|
/xen/xen/include/asm-x86/ |
A D | processor.h | 197 unsigned int *ebx, in cpuid_count() argument 202 : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx) in cpuid_count() 222 unsigned int eax, ebx; in cpuid_ebx() local 225 : "=a" (eax), "=b" (ebx) in cpuid_ebx() 228 return ebx; in cpuid_ebx() 256 unsigned int ebx, tmp; in cpuid_count_ebx() local 258 cpuid_count(leaf, subleaf, &tmp, &ebx, &tmp, &tmp); in cpuid_count_ebx() 260 return ebx; in cpuid_count_ebx()
|
/xen/xen/arch/x86/pv/ |
A D | hypercall.c | 175 unsigned int ebx = regs->ebx; in pv_hypercall() local 186 case 0: ebx = 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() 217 case 1: regs->ebx = 0xdeadf00d; in pv_hypercall()
|
/xen/xen/arch/x86/boot/ |
A D | trampoline.S | 56 mov $X86_CR0_PE, %ebx # EBX != 0 indicates we are an AP 57 mov %ebx, %cr0 # Alias with CR0.PE for brevity 207 movl $0x0002,%ebx # long mode 250 xor %ebx,%ebx
|
A D | head.S | 235 sub %ebx,%r8d 403 mov %ebx, sym_esi(pvh_start_info_pa) 423 mov (%ebx), %eax /* mov $XEN_HVM_START_MAGIC_VALUE, %eax */ 465 testb $MBI_MEMLIMITS,MB_flags(%ebx) 468 cmovnz MB_mem_lower(%ebx),%edx 473 lea (MB2_fixed_sizeof+MULTIBOOT2_TAG_ALIGN-1)(%ebx),%ecx 479 sub %ebx,%edi 480 cmp %edi,MB2_fixed_total_size(%ebx) 749 mov sym_esi(multiboot_ptr), %ebx 750 testl $MBI_CMDLINE,MB_flags(%ebx) [all …]
|
A D | mem.S | 9 xorl %ebx, %ebx # continuation counter
|
A D | x86_64.S | 30 test %ebx,%ebx
|
/xen/tools/tests/x86_emulator/ |
A D | x86-emulate.c | 96 unsigned int tmp, ebx; in emul_test_init() local 99 : "=a" (tmp), "=b" (ebx), "=c" (tmp), "=d" (tmp) in emul_test_init() 107 assert(ebx < sizeof(fpu_save_area)); in emul_test_init()
|
/xen/xen/arch/x86/ |
A D | xstate.c | 92 unsigned int leaf, eax, ebx, ecx, edx; in setup_xstate_features() local 118 &ebx, &ecx, &edx); in setup_xstate_features() 120 BUG_ON(ebx != xstate_offsets[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() 558 ASSERT(ebx <= ecx); in _xstate_ctxt_size() 562 return ebx; 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()
|
/xen/tools/firmware/rombios/32bit/tcgbios/ |
A D | tcgbios.c | 97 static uint32_t TCG_ShutdownPreBootInterface(uint32_t ebx); 1046 uint32_t TCG_ShutdownPreBootInterface(uint32_t ebx) in TCG_ShutdownPreBootInterface() argument 1197 uint32_t ebx, uint32_t ecx, uint32_t edx) in TSS32() argument 1430 regs->u.r32.ebx = TCG_MAGIC; in TCGInterruptHandler() 1450 regs->u.r32.ebx, in TCGInterruptHandler() 1463 regs->u.r32.ebx, in TCGInterruptHandler() 1470 TCG_ShutdownPreBootInterface(regs->u.r32.ebx); in TCGInterruptHandler() 1481 regs->u.r32.ebx, in TCGInterruptHandler() 1494 regs->u.r32.ebx, in TCGInterruptHandler() 1505 regs->u.r32.ebx, in TCGInterruptHandler() [all …]
|
/xen/stubdom/ |
A D | newlib.patch | 207 -#define ebx REG(ebx) 282 +#define ebx %ebx 396 -#define ebx REG(ebx) 436 +#define ebx %ebx 526 -#define ebx REG(ebx) 566 +#define ebx %ebx
|
/xen/tools/debugger/gdbsx/xg/ |
A D | xg_main.c | 522 rp->ebx = cp->ebx; in _cp_32ctxt_to_32gdb() 544 rp->ebx = cp->rbx; in _cp_64ctxt_to_32gdb() 602 cp->ebx = rp->ebx; in _cp_32gdb_to_32ctxt() 623 cp->rbx = rp->ebx; in _cp_32gdb_to_64ctxt()
|